aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2014-10-13 05:53:33 +0000
committerRafał Miłecki <zajec5@gmail.com>2014-10-13 05:53:33 +0000
commitf9cf839be401b295ed42e3309edd3526bb3d94aa (patch)
treed5479daf0e3c00eb9dcf9d5ab66878bd56c2dcda
parentcc8b4b8143480d5343dc0ae553767527d6a2e0c7 (diff)
downloadupstream-f9cf839be401b295ed42e3309edd3526bb3d94aa.tar.gz
upstream-f9cf839be401b295ed42e3309edd3526bb3d94aa.tar.bz2
upstream-f9cf839be401b295ed42e3309edd3526bb3d94aa.zip
brcm47xx: image: create initramfs TRX nodictionary images
Signed-off-by: Stephen Parry <sgparry@mainscreen.com> Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42889 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--target/linux/brcm47xx/image/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/brcm47xx/image/Makefile b/target/linux/brcm47xx/image/Makefile
index d19a13ee60..33a3c854ef 100644
--- a/target/linux/brcm47xx/image/Makefile
+++ b/target/linux/brcm47xx/image/Makefile
@@ -21,6 +21,7 @@ define Image/Prepare
gzip -nc9 $(KDIR)/vmlinux > $(KDIR)/vmlinux.gz
ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),)
cat $(KDIR)/vmlinux-initramfs | $(STAGING_DIR_HOST)/bin/lzma e -si -so -eos -lc1 -lp2 -pb2 > $(KDIR)/vmlinux-initramfs.lzma
+ $(STAGING_DIR_HOST)/bin/lzma e -so -d16 $(KDIR)/vmlinux-initramfs > $(KDIR)/vmlinux-initramfs-nodictionary.lzma
endif
rm -f $(KDIR)/loader.gz
$(MAKE) -C lzma-loader \
@@ -228,6 +229,7 @@ endef
define Image/Build/Initramfs
$(STAGING_DIR_HOST)/bin/trx -o $(BIN_DIR)/$(IMG_PREFIX)-initramfs.trx -f $(KDIR)/loader.gz -f $(KDIR)/vmlinux-initramfs.lzma
+ $(STAGING_DIR_HOST)/bin/trx -o $(BIN_DIR)/$(IMG_PREFIX)-initramfs-noloader-nodictionary.trx -f $(KDIR)/vmlinux-initramfs-nodictionary.lzma
endef
# $(1): filesystem type.