From: Florian Fainelli Date: Fri, 25 Oct 2013 01:48:02 +0000 (+0000) Subject: include: handle LZ4 compression scheme X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=cdcde21b8d36bd6d2b3d0bc5ccc1a384eae4bed2;p=openwrt%2Fstaging%2Fstintel.git include: handle LZ4 compression scheme Kernel 3.12 now offers LZ4 compression which will make initramfs builds fail because we do not know how to substitute the relevant config symbols, fix that. Signed-off-by: Florian Fainelli SVN-Revision: 38533 --- diff --git a/include/kernel-defaults.mk b/include/kernel-defaults.mk index 48f2b2ab75..96f2b2cbe6 100644 --- a/include/kernel-defaults.mk +++ b/include/kernel-defaults.mk @@ -81,6 +81,7 @@ ifeq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),y) echo -e "$(if $(CONFIG_TARGET_INITRAMFS_COMPRESSION_LZMA),CONFIG_INITRAMFS_COMPRESSION_LZMA=y\nCONFIG_RD_LZMA=y,# CONFIG_INITRAMFS_COMPRESSION_LZMA is not set\n# CONFIG_RD_LZMA is not set)" >> $(LINUX_DIR)/.config echo -e "$(if $(CONFIG_TARGET_INITRAMFS_COMPRESSION_LZO),CONFIG_INITRAMFS_COMPRESSION_LZO=y\nCONFIG_RD_LZO=y,# CONFIG_INITRAMFS_COMPRESSION_LZO is not set\n# CONFIG_RD_LZO is not set)" >> $(LINUX_DIR)/.config echo -e "$(if $(CONFIG_TARGET_INITRAMFS_COMPRESSION_XZ),CONFIG_INITRAMFS_COMPRESSION_XZ=y\nCONFIG_RD_XZ=y,# CONFIG_INITRAMFS_COMPRESSION_XZ is not set\n# CONFIG_RD_XZ is not set)" >> $(LINUX_DIR)/.config + echo -e "$(if $(CONFIG_TARGET_INITRAMFS_COMPRESSION_LZ4),CONFIG_INITRAMFS_COMPRESSION_LZ4=y\nCONFIG_RD_LZ4=y,# CONFIG_INITRAMFS_COMPRESSION_LZ4 is not set\n# CONFIG_RD_LZ4 is not set)" >> $(LINUX_DIR)/.config endef else endif