X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/12c49b6a6adbbcb0c7a19119c8a8c94b5f025f79..664450823b22d9036d099c72cce1e63954838fdd:/tools/firmware-utils/Makefile?ds=sidebyside diff --git a/tools/firmware-utils/Makefile b/tools/firmware-utils/Makefile index f45869356..e5537b445 100644 --- a/tools/firmware-utils/Makefile +++ b/tools/firmware-utils/Makefile @@ -11,7 +11,7 @@ PKG_NAME := firmware-utils include $(INCLUDE_DIR)/host-build.mk define cc - $(CC) $(HOST_CFLAGS) -include endian.h -o $(PKG_BUILD_DIR)/bin/$(1) src/$(1).c + $(CC) $(HOST_CFLAGS) -include endian.h -o $(PKG_BUILD_DIR)/bin/$(1) src/$(1).c $(2) endef define Build/Compile @@ -27,10 +27,11 @@ define Build/Compile $(call cc,mkmylofw) $(call cc,mkcsysimg) $(call cc,mkzynfw) + $(call cc,lzma2eva,-lz) endef define Build/Install - $(CP) $(PKG_BUILD_DIR)/bin/* $(STAGING_DIR_HOST)/bin/ + $(INSTALL_BIN) $(PKG_BUILD_DIR)/bin/* $(STAGING_DIR_HOST)/bin/ endef $(eval $(call HostBuild))