diff options
-rw-r--r-- | toolchain/kernel-headers/Config.in | 8 | ||||
-rw-r--r-- | toolchain/kernel-headers/kernel-headers-new.makefile | 4 | ||||
-rw-r--r-- | toolchain/kernel-headers/lzma/linux-2.6.21.5-001-lzma-vmlinuz.00.patch (renamed from toolchain/kernel-headers/linux-2.6.21.5-001-lzma-vmlinuz.00.patch) | 0 | ||||
-rw-r--r-- | toolchain/kernel-headers/lzma/linux-2.6.21.5-002-lzma-vmlinuz.01.patch (renamed from toolchain/kernel-headers/linux-2.6.21.5-002-lzma-vmlinuz.01.patch) | 0 | ||||
-rw-r--r-- | toolchain/kernel-headers/lzma/linux-2.6.22.1-001-lzma-vmlinuz.00.patch (renamed from toolchain/kernel-headers/linux-2.6.22.1-001-lzma-vmlinuz.00.patch) | 0 | ||||
-rw-r--r-- | toolchain/kernel-headers/lzma/linux-2.6.22.1-002-lzma-vmlinuz.01.patch (renamed from toolchain/kernel-headers/linux-2.6.22.1-002-lzma-vmlinuz.01.patch) | 0 |
6 files changed, 12 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 diff --git a/toolchain/kernel-headers/kernel-headers-new.makefile b/toolchain/kernel-headers/kernel-headers-new.makefile index 06bc45268..75bcce48e 100644 --- a/toolchain/kernel-headers/kernel-headers-new.makefile +++ b/toolchain/kernel-headers/kernel-headers-new.makefile @@ -59,6 +59,10 @@ $(LINUX_HEADERS_UNPACK_DIR)/.unpacked: $(DL_DIR)/$(LINUX_HEADERS_SOURCE) $(LINUX_HEADERS_UNPACK_DIR)/.patched: $(LINUX_HEADERS_UNPACK_DIR)/.unpacked toolchain/patch-kernel.sh $(LINUX_HEADERS_UNPACK_DIR) toolchain/kernel-headers \ linux-$(LINUX_HEADERS_VERSION)-\*.patch{,.gz,.bz2} +ifeq ($(BR2_KERNEL_HEADERS_LZMA),y) + toolchain/patch-kernel.sh $(LINUX_HEADERS_UNPACK_DIR) toolchain/kernel-headers/lzma \ + linux-$(LINUX_HEADERS_VERSION)-\*.patch{,.gz,.bz2} +endif ifeq ($(BR2_PACKAGE_OPENSWAN),y) toolchain/patch-kernel.sh $(LINUX_HEADERS_UNPACK_DIR) package/openswan \ linux-$(LINUX_HEADERS_VERSION)-\*.patch{,.gz,.bz2} diff --git a/toolchain/kernel-headers/linux-2.6.21.5-001-lzma-vmlinuz.00.patch b/toolchain/kernel-headers/lzma/linux-2.6.21.5-001-lzma-vmlinuz.00.patch index 87e50f8be..87e50f8be 100644 --- a/toolchain/kernel-headers/linux-2.6.21.5-001-lzma-vmlinuz.00.patch +++ b/toolchain/kernel-headers/lzma/linux-2.6.21.5-001-lzma-vmlinuz.00.patch diff --git a/toolchain/kernel-headers/linux-2.6.21.5-002-lzma-vmlinuz.01.patch b/toolchain/kernel-headers/lzma/linux-2.6.21.5-002-lzma-vmlinuz.01.patch index 05361ff9d..05361ff9d 100644 --- a/toolchain/kernel-headers/linux-2.6.21.5-002-lzma-vmlinuz.01.patch +++ b/toolchain/kernel-headers/lzma/linux-2.6.21.5-002-lzma-vmlinuz.01.patch diff --git a/toolchain/kernel-headers/linux-2.6.22.1-001-lzma-vmlinuz.00.patch b/toolchain/kernel-headers/lzma/linux-2.6.22.1-001-lzma-vmlinuz.00.patch index 16f9ef741..16f9ef741 100644 --- a/toolchain/kernel-headers/linux-2.6.22.1-001-lzma-vmlinuz.00.patch +++ b/toolchain/kernel-headers/lzma/linux-2.6.22.1-001-lzma-vmlinuz.00.patch diff --git a/toolchain/kernel-headers/linux-2.6.22.1-002-lzma-vmlinuz.01.patch b/toolchain/kernel-headers/lzma/linux-2.6.22.1-002-lzma-vmlinuz.01.patch index 05361ff9d..05361ff9d 100644 --- a/toolchain/kernel-headers/linux-2.6.22.1-002-lzma-vmlinuz.01.patch +++ b/toolchain/kernel-headers/lzma/linux-2.6.22.1-002-lzma-vmlinuz.01.patch |