summaryrefslogtreecommitdiff
path: root/include/kernel-defaults.mk
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2009-11-21 15:20:11 +0000
committerImre Kaloz <kaloz@openwrt.org>2009-11-21 15:20:11 +0000
commit0ebb9220a08d67c383fef13151902154efecf591 (patch)
tree1b6c1e999de9338ebe07122cd4d1362a8bb8f883 /include/kernel-defaults.mk
parent4d9b1d6c756b76e037285a7519c4ec20014aa654 (diff)
downloadmtk-20170518-0ebb9220a08d67c383fef13151902154efecf591.zip
mtk-20170518-0ebb9220a08d67c383fef13151902154efecf591.tar.gz
mtk-20170518-0ebb9220a08d67c383fef13151902154efecf591.tar.bz2
make lzo compressed initramfs selectable, too
SVN-Revision: 18457
Diffstat (limited to 'include/kernel-defaults.mk')
-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 f49cbb9..300139c 100644
--- a/include/kernel-defaults.mk
+++ b/include/kernel-defaults.mk
@@ -76,6 +76,7 @@ ifeq ($(KERNEL),2.6)
echo -e "$(if $(CONFIG_TARGET_INITRAMFS_COMPRESSION_GZIP),CONFIG_INITRAMFS_COMPRESSION_GZIP=y\nCONFIG_RD_GZIP=y,# CONFIG_INITRAMFS_COMPRESSION_GZIP is not set\n# CONFIG_RD_GZIP is not set)" >> $(LINUX_DIR)/.config
echo -e "$(if $(CONFIG_TARGET_INITRAMFS_COMPRESSION_BZIP2),CONFIG_INITRAMFS_COMPRESSION_BZIP2=y\nCONFIG_RD_BZIP2=y,# CONFIG_INITRAMFS_COMPRESSION_BZIP2 is not set\n# CONFIG_RD_BZIP2 is not set)" >> $(LINUX_DIR)/.config
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
endef
else
define Kernel/SetInitramfs