1
0
فهرست منبع

use HOSTCFLAGS, avoid object file generation

Waldemar Brodkorb 15 سال پیش
والد
کامیت
c164968b0c
4فایلهای تغییر یافته به همراه3 افزوده شده و 5 حذف شده
  1. 1 1
      target/tools/mkfimage/Makefile
  2. BIN
      target/tools/mkfimage/mkfimage
  3. 1 1
      target/tools/trx/Makefile
  4. 1 3
      target/tools/uboot-mkimage/Makefile

+ 1 - 1
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

BIN
target/tools/mkfimage/mkfimage


+ 1 - 1
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

+ 1 - 3
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