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