From: Felix Fietkau Date: Sun, 22 Jan 2017 14:04:04 +0000 (+0100) Subject: uboot-lantiq: fix build issue X-Git-Tag: v18.06.0-rc1~4023 X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=commitdiff_plain;h=34ec245662766354ce0d19d586bb08f220ddb3b3 uboot-lantiq: fix build issue Do not reference BIN_DIR in the package install section directly, use $(1) instead. Signed-off-by: Felix Fietkau --- diff --git a/package/boot/uboot-lantiq/Makefile b/package/boot/uboot-lantiq/Makefile index cbebe91c2e..401e77ab8e 100644 --- a/package/boot/uboot-lantiq/Makefile +++ b/package/boot/uboot-lantiq/Makefile @@ -402,9 +402,10 @@ define Build/Compile endef define Package/uboot/install/default + $(INSTALL_DIR) $$(1) $(CP) \ $(PKG_BUILD_DIR)/$(2) \ - $(BIN_DIR)/uboot-$(BOARD)-$(1)/openwrt-$(BOARD)-$(1)-u-boot.img + $$(1)/openwrt-$(BOARD)-$(1)-u-boot.img endef define Package/uboot/install/uart @@ -413,7 +414,7 @@ define Package/uboot/install/uart > $(PKG_BUILD_DIR)/ddr_settings perl $(PKG_BUILD_DIR)/tools/gct.pl \ $(PKG_BUILD_DIR)/ddr_settings $(PKG_BUILD_DIR)/u-boot.srec \ - $(BIN_DIR)/uboot-$(BOARD)-$(1)/openwrt-$(BOARD)-$(1)-u-boot.asc + $$(1)/openwrt-$(BOARD)-$(1)-u-boot.asc endef define Package/uboot/install/template