mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-29 18:19:02 +00:00
au1000: create sysupgrade binary for each file system type
This patch should prevent overriding of sysupgrade binaries in the bin directory if we build images for more then one file system type. Discussion: https://lists.openwrt.org/pipermail/openwrt-devel/2013-October/022108.html Signed-off-by: Philipp Borgers <borgers@mi.fu-berlin.de> SVN-Revision: 38674
This commit is contained in:
parent
f198adc030
commit
8247d9926a
@ -62,7 +62,7 @@ define Image/Build
|
|||||||
$(CP) $(KDIR)/root.$(1) $(BIN_DIR)/$(IMG_PREFIX)-$(1).fs
|
$(CP) $(KDIR)/root.$(1) $(BIN_DIR)/$(IMG_PREFIX)-$(1).fs
|
||||||
$(CP) $(KDIR)/kernel.flash.srec $(BIN_DIR)/$(IMG_PREFIX)-vmlinux-flash.srec
|
$(CP) $(KDIR)/kernel.flash.srec $(BIN_DIR)/$(IMG_PREFIX)-vmlinux-flash.srec
|
||||||
$(CP) $(KDIR)/kernel.ram.srec $(BIN_DIR)/$(IMG_PREFIX)-vmlinux-ram.srec
|
$(CP) $(KDIR)/kernel.ram.srec $(BIN_DIR)/$(IMG_PREFIX)-vmlinux-ram.srec
|
||||||
tar -C $(BIN_DIR) -cvzf $(BIN_DIR)/$(IMG_PREFIX)-sysupgrade.bin $(IMG_PREFIX)-vmlinux.bin $(IMG_PREFIX)-$(1).fs
|
tar -C $(BIN_DIR) -cvzf $(BIN_DIR)/$(IMG_PREFIX)-$(1)-sysupgrade.bin $(IMG_PREFIX)-vmlinux.bin $(IMG_PREFIX)-$(1).fs
|
||||||
ifeq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),y)
|
ifeq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),y)
|
||||||
$(call Image/Build/Initramfs)
|
$(call Image/Build/Initramfs)
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user