aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/au1000/image/Makefile
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2013-11-07 12:46:16 +0000
committerJohn Crispin <john@openwrt.org>2013-11-07 12:46:16 +0000
commita100fd3b4a4adc136f73c8466abf0aec8d2ba169 (patch)
tree64f8c2efd47c7558e49abf01cce36177eefe2370 /target/linux/au1000/image/Makefile
parent8247d9926af6357c872755098f4b37067d274dcb (diff)
downloadupstream-a100fd3b4a4adc136f73c8466abf0aec8d2ba169.tar.gz
upstream-a100fd3b4a4adc136f73c8466abf0aec8d2ba169.tar.bz2
upstream-a100fd3b4a4adc136f73c8466abf0aec8d2ba169.zip
au1000: make sysupgrade compatible with all file system types
This patch adds support for all file system types as discussed earlier: https://lists.openwrt.org/pipermail/openwrt-devel/2013-October/022109.html This patch depends on a previous patch: https://lists.openwrt.org/pipermail/openwrt-devel/2013-October/022111.html Signed-off-by: Philipp Borgers <borgers@mi.fu-berlin.de> SVN-Revision: 38675
Diffstat (limited to 'target/linux/au1000/image/Makefile')
-rw-r--r--target/linux/au1000/image/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/target/linux/au1000/image/Makefile b/target/linux/au1000/image/Makefile
index 12c84a10cf..63c0b03d68 100644
--- a/target/linux/au1000/image/Makefile
+++ b/target/linux/au1000/image/Makefile
@@ -62,7 +62,9 @@ define Image/Build
$(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.ram.srec $(BIN_DIR)/$(IMG_PREFIX)-vmlinux-ram.srec
- tar -C $(BIN_DIR) -cvzf $(BIN_DIR)/$(IMG_PREFIX)-$(1)-sysupgrade.bin $(IMG_PREFIX)-vmlinux.bin $(IMG_PREFIX)-$(1).fs
+ $(CP) $(BIN_DIR)/$(IMG_PREFIX)-$(1).fs $(TMP_DIR)/$(IMG_PREFIX)-root.fs
+ tar -C $(BIN_DIR) -cvzf $(BIN_DIR)/$(IMG_PREFIX)-$(1)-sysupgrade.bin \
+ $(IMG_PREFIX)-vmlinux.bin -C $(TMP_DIR) $(IMG_PREFIX)-root.fs
ifeq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),y)
$(call Image/Build/Initramfs)
endif