summaryrefslogtreecommitdiff
path: root/target/tools/uboot-mkimage
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-01-01 12:57:04 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-01-01 12:57:04 +0100
commitc164968b0c1b08a7d85c95d492f7ec562689873a (patch)
treec10e5c40aaafa0f476348914bd136a749eff7581 /target/tools/uboot-mkimage
parent70efb82d20876582baea0a1cbcb127170aaf42ac (diff)
use HOSTCFLAGS, avoid object file generation
Diffstat (limited to 'target/tools/uboot-mkimage')
-rw-r--r--target/tools/uboot-mkimage/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/target/tools/uboot-mkimage/Makefile b/target/tools/uboot-mkimage/Makefile
index 08506a5f8..c9d85a28e 100644
--- a/target/tools/uboot-mkimage/Makefile
+++ b/target/tools/uboot-mkimage/Makefile
@@ -1,6 +1,4 @@
include $(TOPDIR)/rules.mk
all:
- $(HOSTCC) -c crc32.c -o crc32.o
- $(HOSTCC) -c mkimage.c -o mkimage.o
- $(HOSTCC) -o ${STAGING_HOST_DIR}/bin/mkimage mkimage.o crc32.o
+ $(HOSTCC) ${HOSTCFLAGS} -o ${STAGING_HOST_DIR}/bin/mkimage mkimage.c crc32.c