summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2013-10-25 01:48:02 +0000
committerFlorian Fainelli <florian@openwrt.org>2013-10-25 01:48:02 +0000
commitcdcde21b8d36bd6d2b3d0bc5ccc1a384eae4bed2 (patch)
tree230b4b7aad3fc668f1a5d05d17ab22bece696607 /include
parent2333212ace3a0a857dc775bcd0d62710a166979d (diff)
downloadmtk-20170518-cdcde21b8d36bd6d2b3d0bc5ccc1a384eae4bed2.zip
mtk-20170518-cdcde21b8d36bd6d2b3d0bc5ccc1a384eae4bed2.tar.gz
mtk-20170518-cdcde21b8d36bd6d2b3d0bc5ccc1a384eae4bed2.tar.bz2
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 <florian@openwrt.org> SVN-Revision: 38533
Diffstat (limited to 'include')
-rw-r--r--include/kernel-defaults.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/kernel-defaults.mk b/include/kernel-defaults.mk
index 48f2b2a..96f2b2c 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