mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
uboot: OpenWrt v19 har changed so /boot is cleaned every build.
Need to defer install of uboot image until after the OpenWrt clean.
This commit is contained in:
parent
20ce9c5f65
commit
e877a0c949
1 changed files with 1 additions and 2 deletions
|
|
@ -134,13 +134,12 @@ define Package/uboot/install/default
|
||||||
$(if $(CONFIG_TARGET_intel_mips), ,$(CP) ./files/uboot $$(1)/etc/init.d/)
|
$(if $(CONFIG_TARGET_intel_mips), ,$(CP) ./files/uboot $$(1)/etc/init.d/)
|
||||||
|
|
||||||
$(INSTALL_DIR) $(BIN_DIR)/$(TARGET)
|
$(INSTALL_DIR) $(BIN_DIR)/$(TARGET)
|
||||||
$(INSTALL_DIR) $$(1)/boot
|
|
||||||
$(CP) \
|
$(CP) \
|
||||||
$(PKG_BUILD_DIR)/$(UBOOT_IMG) \
|
$(PKG_BUILD_DIR)/$(UBOOT_IMG) \
|
||||||
$(BIN_DIR)/$(TARGET)/uboot.img
|
$(BIN_DIR)/$(TARGET)/uboot.img
|
||||||
$(CP) \
|
$(CP) \
|
||||||
$(PKG_BUILD_DIR)/$(UBOOT_IMG) \
|
$(PKG_BUILD_DIR)/$(UBOOT_IMG) \
|
||||||
$$(1)/boot/uboot.img
|
$(wildcard $(BUILD_DIR)/linux-$(BOARD)*)/uboot.img
|
||||||
|
|
||||||
$(INSTALL_DIR) $$(1)/usr/sbin
|
$(INSTALL_DIR) $$(1)/usr/sbin
|
||||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/tools/env/fw_printenv $$(1)/usr/sbin/
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/tools/env/fw_printenv $$(1)/usr/sbin/
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue