diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2016-12-23 20:35:57 -0800 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2016-12-24 12:02:10 +0100 |
commit | db553ffb34e0f3039894505e15092655d2cda87e (patch) | |
tree | c2dd429a566bf579e0b705bf241d64e02560550f /target/linux/rb532 | |
parent | 0a5ccfbadda79f4626202b78326c4d3ffccf9bd1 (diff) | |
download | upstream-db553ffb34e0f3039894505e15092655d2cda87e.tar.gz upstream-db553ffb34e0f3039894505e15092655d2cda87e.tar.bz2 upstream-db553ffb34e0f3039894505e15092655d2cda87e.zip |
rb532: Fix initramfs kernel images
The generic lzma-loader uses vmlinux.lzma as an input to compress so we
need to provide a lzma compressed version of the initramfs kernel.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Diffstat (limited to 'target/linux/rb532')
-rw-r--r-- | target/linux/rb532/image/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/rb532/image/Makefile b/target/linux/rb532/image/Makefile index 1a1f343779..7ea6532e06 100644 --- a/target/linux/rb532/image/Makefile +++ b/target/linux/rb532/image/Makefile @@ -28,7 +28,7 @@ define Image/Prepare $(MAKE) -C $(GENERIC_PLATFORM_DIR)/image/lzma-loader $(LOADER_MAKEOPTS) clean compile ifeq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),y) $(STAGING_DIR_HOST)/bin/patch-cmdline $(KDIR)/vmlinux-initramfs '$(strip $(call Image/cmdline/yaffs2)) ' - cat $(KDIR)/vmlinux-initramfs | $(STAGING_DIR_HOST)/bin/lzma e -si -so -eos -lc1 -lp2 -pb2 > $(KDIR)/vmlinux-initramfs.lzma + cat $(KDIR)/vmlinux-initramfs | $(STAGING_DIR_HOST)/bin/lzma e -si -so -eos -lc1 -lp2 -pb2 > $(KDIR)/vmlinux.lzma $(MAKE) -C $(GENERIC_PLATFORM_DIR)/image/lzma-loader $(LOADER_MAKEOPTS) clean compile $(CP) $(KDIR)/loader.elf $(KDIR)/loader-initramfs.elf endif |