aboutsummaryrefslogtreecommitdiffstats
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
commit0f9c7cb3c910847903cc80eb0fada39e81534ed3 (patch)
tree47eb4fb6297e3c94a04d7c7dfbe2f43caf41a3dd /include
parent59a610f4d9113e4e13a38a09af9deb2457ce3eac (diff)
downloadupstream-0f9c7cb3c910847903cc80eb0fada39e81534ed3.tar.gz
upstream-0f9c7cb3c910847903cc80eb0fada39e81534ed3.tar.bz2
upstream-0f9c7cb3c910847903cc80eb0fada39e81534ed3.zip
2.6.30 supports different initramfs compressors, take care of them
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15498 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 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