tools: Fix the order sequence issue in Makefile

tools/qemu and toos/go-compile define the IMAGE after the
package.mk, which result in below error if 'make ORG=other_org':
...
invalid argument "other_org/:2c6d9e1d9c52167f4f2b7a8fd235eda318175c99"for t: invalid reference format
See 'docker build --help'.
../../pkg/package.mk:47: recipe for target 'tag' failed
make: *** [tag] Error 125

This because '../../pkg/package.mk' need to use IMAGE variable first.

Signed-off-by: Dennis Chen <dennis.chen@arm.com>
This commit is contained in:
Dennis Chen 2017-07-17 07:03:27 +00:00
parent 6ed2cec4cb
commit 4cdff71e05
2 changed files with 5 additions and 3 deletions

View File

@ -1,4 +1,5 @@
include ../../pkg/package.mk
IMAGE=go-compile
DEPS=compile.sh
include ../../pkg/package.mk

View File

@ -1,3 +1,4 @@
IMAGE=qemu
include ../../pkg/package.mk
IMAGE=qemu