summaryrefslogtreecommitdiff
path: root/target/tools/uboot-mkimage/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'target/tools/uboot-mkimage/Makefile')
-rw-r--r--target/tools/uboot-mkimage/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/tools/uboot-mkimage/Makefile b/target/tools/uboot-mkimage/Makefile
index c9d85a28e..e93964ff2 100644
--- a/target/tools/uboot-mkimage/Makefile
+++ b/target/tools/uboot-mkimage/Makefile
@@ -1,4 +1,4 @@
include $(TOPDIR)/rules.mk
-all:
- $(HOSTCC) ${HOSTCFLAGS} -o ${STAGING_HOST_DIR}/bin/mkimage mkimage.c crc32.c
+all: mkimage.c crc32.c
+ $(CC_FOR_BUILD) ${FLAGS_FOR_BUILD} -o ${STAGING_HOST_DIR}/bin/mkimage mkimage.c crc32.c