summaryrefslogtreecommitdiffstats
path: root/include/kernel-defaults.mk
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/kernel-defaults.mk
parenta4acb050ee7ad2bb819c1d2c2266fb9b54db48d2 (diff)
downloadmaster-31e0f0ae-8582177e7335f5020e7ab1a8285dfa103cbe66fb.tar.gz
master-31e0f0ae-8582177e7335f5020e7ab1a8285dfa103cbe66fb.tar.bz2
master-31e0f0ae-8582177e7335f5020e7ab1a8285dfa103cbe66fb.zip
2.6.30 supports different initramfs compressors, take care of them
SVN-Revision: 15498
Diffstat (limited to 'include/kernel-defaults.mk')
-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 e690aabfdb..f205553587 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