uboot-lantiq: fix build issue

Do not reference BIN_DIR in the package install section directly, use
$(1) instead.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
master
Felix Fietkau 8 years ago
parent 26ae7abc15
commit 34ec245662
  1. 5
      package/boot/uboot-lantiq/Makefile

@ -402,9 +402,10 @@ define Build/Compile
endef endef
define Package/uboot/install/default define Package/uboot/install/default
$(INSTALL_DIR) $$(1)
$(CP) \ $(CP) \
$(PKG_BUILD_DIR)/$(2) \ $(PKG_BUILD_DIR)/$(2) \
$(BIN_DIR)/uboot-$(BOARD)-$(1)/openwrt-$(BOARD)-$(1)-u-boot.img $$(1)/openwrt-$(BOARD)-$(1)-u-boot.img
endef endef
define Package/uboot/install/uart define Package/uboot/install/uart
@ -413,7 +414,7 @@ define Package/uboot/install/uart
> $(PKG_BUILD_DIR)/ddr_settings > $(PKG_BUILD_DIR)/ddr_settings
perl $(PKG_BUILD_DIR)/tools/gct.pl \ perl $(PKG_BUILD_DIR)/tools/gct.pl \
$(PKG_BUILD_DIR)/ddr_settings $(PKG_BUILD_DIR)/u-boot.srec \ $(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 endef
define Package/uboot/install/template define Package/uboot/install/template

Loading…
Cancel
Save