diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2011-01-01 12:57:04 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2011-01-01 12:57:04 +0100 |
commit | c164968b0c1b08a7d85c95d492f7ec562689873a (patch) | |
tree | c10e5c40aaafa0f476348914bd136a749eff7581 /target/tools | |
parent | 70efb82d20876582baea0a1cbcb127170aaf42ac (diff) |
use HOSTCFLAGS, avoid object file generation
Diffstat (limited to 'target/tools')
-rw-r--r-- | target/tools/mkfimage/Makefile | 2 | ||||
-rwxr-xr-x | target/tools/mkfimage/mkfimage | bin | 11901 -> 0 bytes | |||
-rw-r--r-- | target/tools/trx/Makefile | 2 | ||||
-rw-r--r-- | target/tools/uboot-mkimage/Makefile | 4 |
4 files changed, 3 insertions, 5 deletions
diff --git a/target/tools/mkfimage/Makefile b/target/tools/mkfimage/Makefile index 110fa96ea..82e645285 100644 --- a/target/tools/mkfimage/Makefile +++ b/target/tools/mkfimage/Makefile @@ -1,4 +1,4 @@ include $(TOPDIR)/rules.mk all: - $(HOSTCC) -o ${STAGING_HOST_DIR}/bin/mkfimage mkfimage.c + $(HOSTCC) ${HOSTCFLAGS} -o ${STAGING_HOST_DIR}/bin/mkfimage mkfimage.c diff --git a/target/tools/mkfimage/mkfimage b/target/tools/mkfimage/mkfimage Binary files differdeleted file mode 100755 index b4f82ee6d..000000000 --- a/target/tools/mkfimage/mkfimage +++ /dev/null diff --git a/target/tools/trx/Makefile b/target/tools/trx/Makefile index 8daf54e78..2def53424 100644 --- a/target/tools/trx/Makefile +++ b/target/tools/trx/Makefile @@ -1,4 +1,4 @@ include $(TOPDIR)/rules.mk all: - $(HOSTCC) -o ${STAGING_HOST_DIR}/bin/trx trx.c + $(HOSTCC) ${HOSTCFLAGS} -o ${STAGING_HOST_DIR}/bin/trx trx.c 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 |