From: Rafał Miłecki Date: Mon, 13 Oct 2014 05:53:33 +0000 (+0000) Subject: brcm47xx: image: create initramfs TRX nodictionary images X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=746b80f1665bb376f004a533bd85b2923916c656;p=openwrt%2Fsvn-archive%2Fopenwrt.git brcm47xx: image: create initramfs TRX nodictionary images Signed-off-by: Stephen Parry Signed-off-by: Rafał Miłecki SVN-Revision: 42889 --- 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.