summaryrefslogtreecommitdiffstats
path: root/toolchain/kernel-headers/Config.in
diff options
context:
space:
mode:
authorUlf Samuelsson2007-08-16 08:26:25 +0200
committerUlf Samuelsson2007-08-16 08:26:25 +0200
commit18199aa7b69102c99c5b6c2382f039823c781e3b (patch)
treeb33c03f416d0bb7448a1da5a27241ef088c19384 /toolchain/kernel-headers/Config.in
parentAvoid copying TARGET_SKELETON on every 'make' (diff)
downloadbuildroot-18199aa7b69102c99c5b6c2382f039823c781e3b.tar.gz
buildroot-18199aa7b69102c99c5b6c2382f039823c781e3b.tar.xz
buildroot-18199aa7b69102c99c5b6c2382f039823c781e3b.zip
Move lzma patches to toolchain/kernel-headers/lzma
They will be applied ONLY if BR2_KERNEL_HEADERS_LZMA is set. BR2_KERNEL_HEADERS_LZMA defaults to NO, so the user has to actively set this config flag if lzma is needed. This means that the default behaviour of buildroot will work for most users. Comment from author: [Brad House] I find myself having to remove the lzma patches because my build system doesn't natively have lzma. I tried to compensate for this by installing the latest lzma from gentoo's package tree, and apparently, it accepts different flags than the one these patches expect, so my kernel build still fails. Finally, I used the lzma from this buildroot and compiled it by hand, and it _mostly_ worked. Regardless, it seems silly to make this a requirement. Personally, I gzip my initramfs, and that's enough compression for me...
Diffstat (limited to 'toolchain/kernel-headers/Config.in')
-rw-r--r--toolchain/kernel-headers/Config.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/toolchain/kernel-headers/Config.in b/toolchain/kernel-headers/Config.in
index 2fafc1d45..bb24d15dc 100644
--- a/toolchain/kernel-headers/Config.in
+++ b/toolchain/kernel-headers/Config.in
@@ -58,6 +58,14 @@ choice
endchoice
+config BR2_KERNEL_HEADERS_LZMA
+ bool "use lzma initramfs kernel patches"
+ default n
+ help
+ Apply patches which allow for lzma compressed
+ initramfs filesystems. This requires the lzma
+ program in your development environment.
+
config BR2_DEFAULT_KERNEL_HEADERS
string
default "2.4.25" if BR2_KERNEL_HEADERS_2_4_25