X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/771b5bebc24a7ff664a7ee9bf78b75f90238aa6b..f9e32614b089b7c666adbb2615b30038353de0cc:/tools/firmware-utils/Makefile diff --git a/tools/firmware-utils/Makefile b/tools/firmware-utils/Makefile index 46fc40c37..436422354 100644 --- a/tools/firmware-utils/Makefile +++ b/tools/firmware-utils/Makefile @@ -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