mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-23 22:34:04 +02:00
[au1000] rename upgrade image to sysupgrade.bin for consistency
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32770 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
e0f76c4f22
commit
a931e49ccc
@ -32,13 +32,13 @@ OBJCOPY_BIN := $(TARGET_CROSS)objcopy -S -O binary $(addprefix --remove-section=
|
||||
|
||||
define Image/Prepare
|
||||
cat $(KDIR)/vmlinux | $(STAGING_DIR_HOST)/bin/lzma e -si -so -eos -lc1 -lp2 -pb2 > $(KDIR)/vmlinux.lzma
|
||||
|
||||
|
||||
# Build RAM image
|
||||
$(MAKE) -C $(GENERIC_PLATFORM_DIR)/image/lzma-loader \
|
||||
$(LOADER_MAKEOPTS) \
|
||||
clean compile
|
||||
$(OBJCOPY_SREC) $(KDIR)/loader.elf $(KDIR)/kernel.ram.srec
|
||||
|
||||
|
||||
# Build Flash image
|
||||
$(MAKE) -C $(GENERIC_PLATFORM_DIR)/image/lzma-loader \
|
||||
$(LOADER_MAKEOPTS) \
|
||||
@ -62,7 +62,7 @@ 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)-upgrade.tgz $(IMG_PREFIX)-vmlinux.bin $(IMG_PREFIX)-$(1).fs
|
||||
tar -C $(BIN_DIR) -cvzf $(BIN_DIR)/$(IMG_PREFIX)-sysupgrade.bin $(IMG_PREFIX)-vmlinux.bin $(IMG_PREFIX)-$(1).fs
|
||||
ifeq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),y)
|
||||
$(call Image/Build/Initramfs)
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user