build: add -Wno-error=unused-but-set-variable to cflags for gcc 4.6 and newer to...
[openwrt.git] / tools / firmware-utils / Makefile
index 46fc40c..4364223 100644 (file)
@@ -12,7 +12,7 @@ include $(INCLUDE_DIR)/host-build.mk
 include $(INCLUDE_DIR)/kernel.mk
 
 define cc
-       $(CC) $(HOST_CFLAGS) -include endian.h -o $(HOST_BUILD_DIR)/bin/$(firstword $(1)) $(foreach src,$(1),src/$(src).c) $(2)
+       $(HOSTCC) $(HOST_CFLAGS) -include endian.h -o $(HOST_BUILD_DIR)/bin/$(firstword $(1)) $(foreach src,$(1),src/$(src).c) $(2)
 endef
 
 define Host/Compile
@@ -55,6 +55,8 @@ define Host/Compile
        $(call cc,buffalo-tftp buffalo-lib, -Wall)
        $(call cc,mkwrgimg md5, -Wall)
        $(call cc,mkedimaximg)
+       $(call cc,mkbrncmdline)
+       $(call cc,mkbrnimg)
 endef
 
 define Host/Install
This page took 0.020123 seconds and 4 git commands to generate.