summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2009-04-29 20:53:38 +0000
committerImre Kaloz <kaloz@openwrt.org>2009-04-29 20:53:38 +0000
commit8582177e7335f5020e7ab1a8285dfa103cbe66fb (patch)
treeb6c64c8ae2cd10d1dfdf6f1f6e0b42f0701ea7d8 /include
parenta4acb050ee7ad2bb819c1d2c2266fb9b54db48d2 (diff)
downloadmtk-20170518-8582177e7335f5020e7ab1a8285dfa103cbe66fb.zip
mtk-20170518-8582177e7335f5020e7ab1a8285dfa103cbe66fb.tar.gz
mtk-20170518-8582177e7335f5020e7ab1a8285dfa103cbe66fb.tar.bz2
2.6.30 supports different initramfs compressors, take care of them
SVN-Revision: 15498
Diffstat (limited to 'include')
-rw-r--r--include/kernel-defaults.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/kernel-defaults.mk b/include/kernel-defaults.mk
index e690aab..f205553 100644
--- a/include/kernel-defaults.mk
+++ b/include/kernel-defaults.mk
@@ -66,6 +66,8 @@ ifeq ($(KERNEL),2.6)
echo 'CONFIG_INITRAMFS_SOURCE="$(strip $(TARGET_DIR) $(INITRAMFS_EXTRA_FILES))"' >> $(LINUX_DIR)/.config
echo 'CONFIG_INITRAMFS_ROOT_UID=$(shell id -u)' >> $(LINUX_DIR)/.config
echo 'CONFIG_INITRAMFS_ROOT_GID=$(shell id -g)' >> $(LINUX_DIR)/.config
+ echo 'CONFIG_INITRAMFS_COMPRESSION_NONE=y' >> $(LINUX_DIR)/.config
+ echo '# CONFIG_INITRAMFS_COMPRESSION_LZMA is not set' >> $(LINUX_DIR)/.config
endef
else
define Kernel/SetInitramfs