summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <mail@waldemar-brodkorb.de>2012-01-15 14:59:48 +0100
committerWaldemar Brodkorb <mail@waldemar-brodkorb.de>2012-01-15 14:59:48 +0100
commit75ccd818128c376f267009bb324029ffceb6a864 (patch)
tree1c01af828046bb764d38e3bd1478039a2cf76048
parentec9168253c1f2688ab494310f9091a9e92705bab (diff)
update Linux kernels, add support for compression choice
-rw-r--r--Config.in60
-rw-r--r--mk/image.mk27
-rw-r--r--mk/kernel-ver.mk18
-rw-r--r--scripts/scan-tools.sh6
-rw-r--r--target/linux/config/Config.in.kernel12
-rw-r--r--target/linux/patches/3.0.17/bsd-compatibility.patch (renamed from target/linux/patches/3.0.9/bsd-compatibility.patch)0
-rw-r--r--target/linux/patches/3.0.17/cris-etrax.patch (renamed from target/linux/patches/3.0.9/cris-etrax.patch)0
-rw-r--r--target/linux/patches/3.0.17/defaults.patch (renamed from target/linux/patches/3.0.9/defaults.patch)0
-rw-r--r--target/linux/patches/3.0.17/fon2100.patch (renamed from target/linux/patches/3.0.9/fon2100.patch)0
-rw-r--r--target/linux/patches/3.0.17/gemalto.patch (renamed from target/linux/patches/3.0.9/gemalto.patch)0
-rw-r--r--target/linux/patches/3.0.17/mips-malta.patch (renamed from target/linux/patches/3.0.9/mips-malta.patch)0
-rw-r--r--target/linux/patches/3.0.17/mmc-host.patch (renamed from target/linux/patches/3.0.9/mmc-host.patch)0
-rw-r--r--target/linux/patches/3.0.17/non-static.patch (renamed from target/linux/patches/3.0.9/non-static.patch)0
-rw-r--r--target/linux/patches/3.0.17/sparc-include.patch (renamed from target/linux/patches/3.0.9/sparc-include.patch)0
-rw-r--r--target/linux/patches/3.0.17/startup.patch (renamed from target/linux/patches/3.0.9/startup.patch)0
-rw-r--r--target/linux/patches/3.0.17/usb-defaults-off.patch (renamed from target/linux/patches/3.0.9/usb-defaults-off.patch)0
-rw-r--r--target/linux/patches/3.0.17/uuid.patch (renamed from target/linux/patches/3.0.9/uuid.patch)0
-rw-r--r--target/linux/patches/3.0.17/vga-cons-default-off.patch (renamed from target/linux/patches/3.0.9/vga-cons-default-off.patch)0
-rw-r--r--target/linux/patches/3.0.17/wlan-cf.patch (renamed from target/linux/patches/3.0.9/wlan-cf.patch)0
-rw-r--r--target/linux/patches/3.0.17/x86-build.patch (renamed from target/linux/patches/3.0.9/x86-build.patch)0
-rw-r--r--target/linux/patches/3.0.17/zlib-inflate.patch (renamed from target/linux/patches/3.0.9/zlib-inflate.patch)0
-rw-r--r--target/linux/patches/3.1.9/bsd-compatibility.patch (renamed from target/linux/patches/3.1.8/bsd-compatibility.patch)0
-rw-r--r--target/linux/patches/3.1.9/cris-etrax.patch (renamed from target/linux/patches/3.1.8/cris-etrax.patch)0
-rw-r--r--target/linux/patches/3.1.9/defaults.patch (renamed from target/linux/patches/3.1.8/defaults.patch)0
-rw-r--r--target/linux/patches/3.1.9/fon2100.patch (renamed from target/linux/patches/3.1.8/fon2100.patch)0
-rw-r--r--target/linux/patches/3.1.9/gemalto.patch (renamed from target/linux/patches/3.1.8/gemalto.patch)0
-rw-r--r--target/linux/patches/3.1.9/mmc-host.patch (renamed from target/linux/patches/3.1.8/mmc-host.patch)0
-rw-r--r--target/linux/patches/3.1.9/non-static.patch (renamed from target/linux/patches/3.1.8/non-static.patch)0
-rw-r--r--target/linux/patches/3.1.9/sparc-include.patch (renamed from target/linux/patches/3.1.8/sparc-include.patch)0
-rw-r--r--target/linux/patches/3.1.9/startup.patch (renamed from target/linux/patches/3.1.8/startup.patch)0
-rw-r--r--target/linux/patches/3.1.9/usb-defaults-off.patch (renamed from target/linux/patches/3.1.8/usb-defaults-off.patch)0
-rw-r--r--target/linux/patches/3.1.9/uuid.patch (renamed from target/linux/patches/3.1.8/uuid.patch)0
-rw-r--r--target/linux/patches/3.1.9/vga-cons-default-off.patch (renamed from target/linux/patches/3.1.8/vga-cons-default-off.patch)0
-rw-r--r--target/linux/patches/3.1.9/wlan-cf.patch (renamed from target/linux/patches/3.1.8/wlan-cf.patch)0
-rw-r--r--target/linux/patches/3.1.9/x86-build.patch (renamed from target/linux/patches/3.1.8/x86-build.patch)0
-rw-r--r--target/linux/patches/3.1.9/zlib-inflate.patch (renamed from target/linux/patches/3.1.8/zlib-inflate.patch)0
-rw-r--r--target/linux/patches/3.2.1/bsd-compatibility.patch (renamed from target/linux/patches/3.2/bsd-compatibility.patch)0
-rw-r--r--target/linux/patches/3.2.1/cris-etrax.patch (renamed from target/linux/patches/3.2/cris-etrax.patch)0
-rw-r--r--target/linux/patches/3.2.1/defaults.patch (renamed from target/linux/patches/3.2/defaults.patch)0
-rw-r--r--target/linux/patches/3.2.1/gemalto.patch (renamed from target/linux/patches/3.2/gemalto.patch)0
-rw-r--r--target/linux/patches/3.2.1/mmc-host.patch (renamed from target/linux/patches/3.2/mmc-host.patch)0
-rw-r--r--target/linux/patches/3.2.1/non-static.patch (renamed from target/linux/patches/3.2/non-static.patch)0
-rw-r--r--target/linux/patches/3.2.1/sparc-include.patch (renamed from target/linux/patches/3.2/sparc-include.patch)0
-rw-r--r--target/linux/patches/3.2.1/startup.patch (renamed from target/linux/patches/3.2/startup.patch)0
-rw-r--r--target/linux/patches/3.2.1/usb-defaults-off.patch (renamed from target/linux/patches/3.2/usb-defaults-off.patch)0
-rw-r--r--target/linux/patches/3.2.1/uuid.patch (renamed from target/linux/patches/3.2/uuid.patch)0
-rw-r--r--target/linux/patches/3.2.1/vga-cons-default-off.patch (renamed from target/linux/patches/3.2/vga-cons-default-off.patch)0
-rw-r--r--target/linux/patches/3.2.1/wlan-cf.patch (renamed from target/linux/patches/3.2/wlan-cf.patch)0
-rw-r--r--target/linux/patches/3.2.1/x86-build.patch (renamed from target/linux/patches/3.2/x86-build.patch)0
-rw-r--r--target/linux/patches/3.2.1/zlib-inflate.patch (renamed from target/linux/patches/3.2/zlib-inflate.patch)0
-rw-r--r--toolchain/kernel-headers/patches/3.0.17/aufs2.patch (renamed from toolchain/kernel-headers/patches/3.0.9/aufs2.patch)0
-rw-r--r--toolchain/kernel-headers/patches/3.0.17/cleankernel.patch (renamed from toolchain/kernel-headers/patches/3.0.9/cleankernel.patch)0
-rw-r--r--toolchain/kernel-headers/patches/3.0.17/etrax-header.patch (renamed from toolchain/kernel-headers/patches/3.0.9/etrax-header.patch)0
-rw-r--r--toolchain/kernel-headers/patches/3.0.17/linux-gcc-check.patch (renamed from toolchain/kernel-headers/patches/3.0.9/linux-gcc-check.patch)0
-rw-r--r--toolchain/kernel-headers/patches/3.0.17/microperl.patch (renamed from toolchain/kernel-headers/patches/3.0.9/microperl.patch)0
-rw-r--r--toolchain/kernel-headers/patches/3.1.9/aufs2.patch (renamed from toolchain/kernel-headers/patches/3.1.8/aufs2.patch)0
-rw-r--r--toolchain/kernel-headers/patches/3.1.9/cleankernel.patch (renamed from toolchain/kernel-headers/patches/3.1.8/cleankernel.patch)0
-rw-r--r--toolchain/kernel-headers/patches/3.1.9/etrax-header.patch (renamed from toolchain/kernel-headers/patches/3.1.8/etrax-header.patch)0
-rw-r--r--toolchain/kernel-headers/patches/3.1.9/linux-gcc-check.patch (renamed from toolchain/kernel-headers/patches/3.1.8/linux-gcc-check.patch)0
-rw-r--r--toolchain/kernel-headers/patches/3.1.9/microperl.patch (renamed from toolchain/kernel-headers/patches/3.1.8/microperl.patch)0
-rw-r--r--toolchain/kernel-headers/patches/3.2.1/aufs2.patch (renamed from toolchain/kernel-headers/patches/3.2/aufs2.patch)0
-rw-r--r--toolchain/kernel-headers/patches/3.2.1/cleankernel.patch (renamed from toolchain/kernel-headers/patches/3.2/cleankernel.patch)0
-rw-r--r--toolchain/kernel-headers/patches/3.2.1/etrax-header.patch (renamed from toolchain/kernel-headers/patches/3.2/etrax-header.patch)0
-rw-r--r--toolchain/kernel-headers/patches/3.2.1/linux-gcc-check.patch (renamed from toolchain/kernel-headers/patches/3.2/linux-gcc-check.patch)0
-rw-r--r--toolchain/kernel-headers/patches/3.2.1/microperl.patch (renamed from toolchain/kernel-headers/patches/3.2/microperl.patch)0
65 files changed, 104 insertions, 19 deletions
diff --git a/Config.in b/Config.in
index fb62fca5a..3a02b2c4f 100644
--- a/Config.in
+++ b/Config.in
@@ -98,20 +98,68 @@ config ADK_KERNEL_VERSION_2_6_39_4
prompt "2.6.39.4"
boolean
-config ADK_KERNEL_VERSION_3_0_9
- prompt "3.0.9"
+config ADK_KERNEL_VERSION_3_0_17
+ prompt "3.0.17"
boolean
-config ADK_KERNEL_VERSION_3_1_8
- prompt "3.1.8"
+config ADK_KERNEL_VERSION_3_1_9
+ prompt "3.1.9"
boolean
-config ADK_KERNEL_VERSION_3_2_0
- prompt "3.2.0"
+config ADK_KERNEL_VERSION_3_2_1
+ prompt "3.2.1"
boolean
endchoice
+choice
+prompt "Kernel Compression"
+config ADK_KERNEL_COMP_XZ
+ prompt "use XZ compression"
+ boolean
+ select ADK_KERNEL_RD_XZ
+ select ADK_KERNEL_KERNEL_XZ
+ select ADK_KERNEL_INITRAMFS_COMPRESSION_XZ
+
+config ADK_KERNEL_COMP_LZMA
+ prompt "use LZMA compression"
+ boolean
+ select ADK_KERNEL_RD_LZMA
+ select ADK_KERNEL_KERNEL_LZMA
+ select ADK_KERNEL_INITRAMFS_COMPRESSION_LZMA
+
+config ADK_KERNEL_COMP_LZO
+ prompt "use LZO compression"
+ boolean
+ select ADK_KERNEL_RD_LZO
+ select ADK_KERNEL_KERNEL_LZO
+ select ADK_KERNEL_INITRAMFS_COMPRESSION_LZO
+
+config ADK_KERNEL_COMP_GZIP
+ prompt "use GZIP compression"
+ boolean
+ select ADK_KERNEL_RD_GZIP
+ select ADK_KERNEL_KERNEL_GZIP
+ select ADK_KERNEL_INITRAMFS_COMPRESSION_GZIP
+
+config ADK_KERNEL_COMP_BZIP2
+ prompt "use BZIP2 compression"
+ boolean
+ select ADK_KERNEL_RD_BZIP2
+ select ADK_KERNEL_KERNEL_BZIP2
+ select ADK_KERNEL_INITRAMFS_COMPRESSION_BZIP2
+
+endchoice
+
+config ADK_COMPRESSION_TOOL
+ string
+ default "gzip -n9" if ADK_TARGET_INITRAMFS_COMPRESSION_GZIP
+ default "bzip2" if ADK_TARGET_INITRAMFS_COMPRESSION_BZIP2
+ default "xz" if ADK_TARGET_INITRAMFS_COMPRESSION_XZ
+ default "lzma -9" if ADK_TARGET_INITRAMFS_COMPRESSION_LZMA
+ default "lzop" if ADK_TARGET_INITRAMFS_COMPRESSION_LZO
+ help
+
source "target/linux/Config.in"
endmenu
diff --git a/mk/image.mk b/mk/image.mk
index fcb0da339..7ff4f5677 100644
--- a/mk/image.mk
+++ b/mk/image.mk
@@ -105,7 +105,7 @@ ${BIN_DIR}/${INITRAMFS}_list: ${TARGET_DIR}
${BIN_DIR}/${INITRAMFS}: ${BIN_DIR}/${INITRAMFS}_list
sh ${LINUX_DIR}/usr/gen_init_cpio ${BIN_DIR}/${INITRAMFS}_list | \
- gzip -9 -c >$@
+ ${ADK_COMPRESSION_TOOL} -c >$@
${BUILD_DIR}/root.squashfs: ${TARGET_DIR}
${STAGING_HOST_DIR}/bin/mksquashfs ${TARGET_DIR} \
@@ -113,14 +113,33 @@ ${BUILD_DIR}/root.squashfs: ${TARGET_DIR}
-nopad -noappend -root-owned $(MAKE_TRACE)
createinitramfs: ${BIN_DIR}/${INITRAMFS}_list
- ${SED} 's/.*CONFIG_(BLK_DEV_INITRD|INITRAMFS_SOURCE).*//' \
+ ${SED} 's/.*CONFIG_(BLK_DEV_INITRD|INITRAMFS_SOURCE|INITRAMFS_COMPRESSION).*//' \
${LINUX_DIR}/.config
( \
echo "CONFIG_BLK_DEV_INITRD=y"; \
echo 'CONFIG_INITRAMFS_SOURCE="${BIN_DIR}/${INITRAMFS}_list"'; \
- echo "CONFIG_INITRAMFS_COMPRESSION_GZIP=y"; \
+ echo 'CONFIG_INITRAMFS_COMPRESSION_NONE is not set' >> ${LINUX_DIR}/.config; \
) >> ${LINUX_DIR}/.config
-
+ifeq ($(ADK_KERNEL_COMP_XZ),y)
+ echo "CONFIG_RD_XZ=y" >> ${LINUX_DIR}/.config
+ echo "CONFIG_INITRAMFS_COMPRESSION_XZ=y" >> ${LINUX_DIR}/.config
+endif
+ifeq ($(ADK_KERNEL_COMP_LZMA),y)
+ echo "CONFIG_RD_LZMA=y" >> ${LINUX_DIR}/.config
+ echo "CONFIG_INITRAMFS_COMPRESSION_LZMA=y" >> ${LINUX_DIR}/.config
+endif
+ifeq ($(ADK_KERNEL_COMP_LZO),y)
+ echo "CONFIG_RD_LZO=y" >> ${LINUX_DIR}/.config
+ echo "CONFIG_INITRAMFS_COMPRESSION_LZO=y" >> ${LINUX_DIR}/.config
+endif
+ifeq ($(ADK_KERNEL_COMP_GZIP),y)
+ echo "CONFIG_RD_GZIP=y" >> ${LINUX_DIR}/.config
+ echo "CONFIG_INITRAMFS_COMPRESSION_GZIP=y" >> ${LINUX_DIR}/.config
+endif
+ifeq ($(ADK_KERNEL_COMP_BZIP2),y)
+ echo "CONFIG_RD_BZIP2=y" >> ${LINUX_DIR}/.config
+ echo "CONFIG_INITRAMFS_COMPRESSION_BZIP2=y" >> ${LINUX_DIR}/.config
+endif
@-rm $(LINUX_DIR)/usr/initramfs_data.cpio* $(MAKE_TRACE)
echo N | \
$(MAKE) -C $(LINUX_DIR) V=1 CROSS_COMPILE="$(TARGET_CROSS)" \
diff --git a/mk/kernel-ver.mk b/mk/kernel-ver.mk
index 450364435..50333bbb2 100644
--- a/mk/kernel-ver.mk
+++ b/mk/kernel-ver.mk
@@ -3,18 +3,18 @@ KERNEL_VERSION:= 2.6.39.4
KERNEL_RELEASE:= 1
KERNEL_MD5SUM:= a17c748c2070168f1e784e9605ca043d
endif
-ifeq ($(ADK_KERNEL_VERSION_3_0_9),y)
-KERNEL_VERSION:= 3.0.9
+ifeq ($(ADK_KERNEL_VERSION_3_0_17),y)
+KERNEL_VERSION:= 3.0.17
KERNEL_RELEASE:= 1
-KERNEL_MD5SUM:= 71992fa4dfc289a959f9ce266d08d77b
+KERNEL_MD5SUM:= fcdd6a945445336e4cd28b2d195f1fea
endif
-ifeq ($(ADK_KERNEL_VERSION_3_1_8),y)
-KERNEL_VERSION:= 3.1.8
+ifeq ($(ADK_KERNEL_VERSION_3_1_9),y)
+KERNEL_VERSION:= 3.1.9
KERNEL_RELEASE:= 1
-KERNEL_MD5SUM:= 69dfba755ab8691a426d8061c94a7ddc
+KERNEL_MD5SUM:= 4e387a49cde20805955c905bc8c311e0
endif
-ifeq ($(ADK_KERNEL_VERSION_3_2_0),y)
-KERNEL_VERSION:= 3.2
+ifeq ($(ADK_KERNEL_VERSION_3_2_1),y)
+KERNEL_VERSION:= 3.2.1
KERNEL_RELEASE:= 1
-KERNEL_MD5SUM:= 7ceb61f87c097fc17509844b71268935
+KERNEL_MD5SUM:= 090eb3dae0f520f7770f85193e931ad3
endif
diff --git a/scripts/scan-tools.sh b/scripts/scan-tools.sh
index 4ffe44649..ade185a99 100644
--- a/scripts/scan-tools.sh
+++ b/scripts/scan-tools.sh
@@ -112,6 +112,12 @@ if ! which gzip >/dev/null 2>&1; then
out=1
fi
+if ! which lzop >/dev/null 2>&1; then
+ echo You must install lzop to continue.
+ echo
+ out=1
+fi
+
if ! which lzma >/dev/null 2>&1; then
echo You must install lzma to continue.
echo
diff --git a/target/linux/config/Config.in.kernel b/target/linux/config/Config.in.kernel
index 1af40c056..da3b800ee 100644
--- a/target/linux/config/Config.in.kernel
+++ b/target/linux/config/Config.in.kernel
@@ -25,9 +25,21 @@ config ADK_KERNEL_BLK_DEV_INITRD
config ADK_KERNEL_INITRAMFS_COMPRESSION_NONE
boolean
+config ADK_KERNEL_INITRAMFS_COMPRESSION_XZ
+ boolean
+
config ADK_KERNEL_INITRAMFS_COMPRESSION_LZMA
boolean
+config ADK_KERNEL_INITRAMFS_COMPRESSION_LZO
+ boolean
+
+config ADK_KERNEL_INITRAMFS_COMPRESSION_GZIP
+ boolean
+
+config ADK_KERNEL_INITRAMFS_COMPRESSION_BZIP2
+ boolean
+
config ADK_KERNEL_RD_GZIP
boolean
diff --git a/target/linux/patches/3.0.9/bsd-compatibility.patch b/target/linux/patches/3.0.17/bsd-compatibility.patch
index 9e91a62de..9e91a62de 100644
--- a/target/linux/patches/3.0.9/bsd-compatibility.patch
+++ b/target/linux/patches/3.0.17/bsd-compatibility.patch
diff --git a/target/linux/patches/3.0.9/cris-etrax.patch b/target/linux/patches/3.0.17/cris-etrax.patch
index a80d9a8b8..a80d9a8b8 100644
--- a/target/linux/patches/3.0.9/cris-etrax.patch
+++ b/target/linux/patches/3.0.17/cris-etrax.patch
diff --git a/target/linux/patches/3.0.9/defaults.patch b/target/linux/patches/3.0.17/defaults.patch
index 58aae610b..58aae610b 100644
--- a/target/linux/patches/3.0.9/defaults.patch
+++ b/target/linux/patches/3.0.17/defaults.patch
diff --git a/target/linux/patches/3.0.9/fon2100.patch b/target/linux/patches/3.0.17/fon2100.patch
index 038ff7020..038ff7020 100644
--- a/target/linux/patches/3.0.9/fon2100.patch
+++ b/target/linux/patches/3.0.17/fon2100.patch
diff --git a/target/linux/patches/3.0.9/gemalto.patch b/target/linux/patches/3.0.17/gemalto.patch
index f3c223b5e..f3c223b5e 100644
--- a/target/linux/patches/3.0.9/gemalto.patch
+++ b/target/linux/patches/3.0.17/gemalto.patch
diff --git a/target/linux/patches/3.0.9/mips-malta.patch b/target/linux/patches/3.0.17/mips-malta.patch
index cc8789dca..cc8789dca 100644
--- a/target/linux/patches/3.0.9/mips-malta.patch
+++ b/target/linux/patches/3.0.17/mips-malta.patch
diff --git a/target/linux/patches/3.0.9/mmc-host.patch b/target/linux/patches/3.0.17/mmc-host.patch
index 3d0e37add..3d0e37add 100644
--- a/target/linux/patches/3.0.9/mmc-host.patch
+++ b/target/linux/patches/3.0.17/mmc-host.patch
diff --git a/target/linux/patches/3.0.9/non-static.patch b/target/linux/patches/3.0.17/non-static.patch
index a967703d0..a967703d0 100644
--- a/target/linux/patches/3.0.9/non-static.patch
+++ b/target/linux/patches/3.0.17/non-static.patch
diff --git a/target/linux/patches/3.0.9/sparc-include.patch b/target/linux/patches/3.0.17/sparc-include.patch
index 2f8ffd061..2f8ffd061 100644
--- a/target/linux/patches/3.0.9/sparc-include.patch
+++ b/target/linux/patches/3.0.17/sparc-include.patch
diff --git a/target/linux/patches/3.0.9/startup.patch b/target/linux/patches/3.0.17/startup.patch
index 68e8987b0..68e8987b0 100644
--- a/target/linux/patches/3.0.9/startup.patch
+++ b/target/linux/patches/3.0.17/startup.patch
diff --git a/target/linux/patches/3.0.9/usb-defaults-off.patch b/target/linux/patches/3.0.17/usb-defaults-off.patch
index 31367108a..31367108a 100644
--- a/target/linux/patches/3.0.9/usb-defaults-off.patch
+++ b/target/linux/patches/3.0.17/usb-defaults-off.patch
diff --git a/target/linux/patches/3.0.9/uuid.patch b/target/linux/patches/3.0.17/uuid.patch
index 2529fdab5..2529fdab5 100644
--- a/target/linux/patches/3.0.9/uuid.patch
+++ b/target/linux/patches/3.0.17/uuid.patch
diff --git a/target/linux/patches/3.0.9/vga-cons-default-off.patch b/target/linux/patches/3.0.17/vga-cons-default-off.patch
index 178aeeeb9..178aeeeb9 100644
--- a/target/linux/patches/3.0.9/vga-cons-default-off.patch
+++ b/target/linux/patches/3.0.17/vga-cons-default-off.patch
diff --git a/target/linux/patches/3.0.9/wlan-cf.patch b/target/linux/patches/3.0.17/wlan-cf.patch
index fc20759e2..fc20759e2 100644
--- a/target/linux/patches/3.0.9/wlan-cf.patch
+++ b/target/linux/patches/3.0.17/wlan-cf.patch
diff --git a/target/linux/patches/3.0.9/x86-build.patch b/target/linux/patches/3.0.17/x86-build.patch
index 339140f41..339140f41 100644
--- a/target/linux/patches/3.0.9/x86-build.patch
+++ b/target/linux/patches/3.0.17/x86-build.patch
diff --git a/target/linux/patches/3.0.9/zlib-inflate.patch b/target/linux/patches/3.0.17/zlib-inflate.patch
index 58e1f6d21..58e1f6d21 100644
--- a/target/linux/patches/3.0.9/zlib-inflate.patch
+++ b/target/linux/patches/3.0.17/zlib-inflate.patch
diff --git a/target/linux/patches/3.1.8/bsd-compatibility.patch b/target/linux/patches/3.1.9/bsd-compatibility.patch
index 9e91a62de..9e91a62de 100644
--- a/target/linux/patches/3.1.8/bsd-compatibility.patch
+++ b/target/linux/patches/3.1.9/bsd-compatibility.patch
diff --git a/target/linux/patches/3.1.8/cris-etrax.patch b/target/linux/patches/3.1.9/cris-etrax.patch
index a80d9a8b8..a80d9a8b8 100644
--- a/target/linux/patches/3.1.8/cris-etrax.patch
+++ b/target/linux/patches/3.1.9/cris-etrax.patch
diff --git a/target/linux/patches/3.1.8/defaults.patch b/target/linux/patches/3.1.9/defaults.patch
index 58aae610b..58aae610b 100644
--- a/target/linux/patches/3.1.8/defaults.patch
+++ b/target/linux/patches/3.1.9/defaults.patch
diff --git a/target/linux/patches/3.1.8/fon2100.patch b/target/linux/patches/3.1.9/fon2100.patch
index 038ff7020..038ff7020 100644
--- a/target/linux/patches/3.1.8/fon2100.patch
+++ b/target/linux/patches/3.1.9/fon2100.patch
diff --git a/target/linux/patches/3.1.8/gemalto.patch b/target/linux/patches/3.1.9/gemalto.patch
index f3c223b5e..f3c223b5e 100644
--- a/target/linux/patches/3.1.8/gemalto.patch
+++ b/target/linux/patches/3.1.9/gemalto.patch
diff --git a/target/linux/patches/3.1.8/mmc-host.patch b/target/linux/patches/3.1.9/mmc-host.patch
index 3d0e37add..3d0e37add 100644
--- a/target/linux/patches/3.1.8/mmc-host.patch
+++ b/target/linux/patches/3.1.9/mmc-host.patch
diff --git a/target/linux/patches/3.1.8/non-static.patch b/target/linux/patches/3.1.9/non-static.patch
index a967703d0..a967703d0 100644
--- a/target/linux/patches/3.1.8/non-static.patch
+++ b/target/linux/patches/3.1.9/non-static.patch
diff --git a/target/linux/patches/3.1.8/sparc-include.patch b/target/linux/patches/3.1.9/sparc-include.patch
index 2f8ffd061..2f8ffd061 100644
--- a/target/linux/patches/3.1.8/sparc-include.patch
+++ b/target/linux/patches/3.1.9/sparc-include.patch
diff --git a/target/linux/patches/3.1.8/startup.patch b/target/linux/patches/3.1.9/startup.patch
index 68e8987b0..68e8987b0 100644
--- a/target/linux/patches/3.1.8/startup.patch
+++ b/target/linux/patches/3.1.9/startup.patch
diff --git a/target/linux/patches/3.1.8/usb-defaults-off.patch b/target/linux/patches/3.1.9/usb-defaults-off.patch
index 31367108a..31367108a 100644
--- a/target/linux/patches/3.1.8/usb-defaults-off.patch
+++ b/target/linux/patches/3.1.9/usb-defaults-off.patch
diff --git a/target/linux/patches/3.1.8/uuid.patch b/target/linux/patches/3.1.9/uuid.patch
index 2529fdab5..2529fdab5 100644
--- a/target/linux/patches/3.1.8/uuid.patch
+++ b/target/linux/patches/3.1.9/uuid.patch
diff --git a/target/linux/patches/3.1.8/vga-cons-default-off.patch b/target/linux/patches/3.1.9/vga-cons-default-off.patch
index 178aeeeb9..178aeeeb9 100644
--- a/target/linux/patches/3.1.8/vga-cons-default-off.patch
+++ b/target/linux/patches/3.1.9/vga-cons-default-off.patch
diff --git a/target/linux/patches/3.1.8/wlan-cf.patch b/target/linux/patches/3.1.9/wlan-cf.patch
index fc20759e2..fc20759e2 100644
--- a/target/linux/patches/3.1.8/wlan-cf.patch
+++ b/target/linux/patches/3.1.9/wlan-cf.patch
diff --git a/target/linux/patches/3.1.8/x86-build.patch b/target/linux/patches/3.1.9/x86-build.patch
index 339140f41..339140f41 100644
--- a/target/linux/patches/3.1.8/x86-build.patch
+++ b/target/linux/patches/3.1.9/x86-build.patch
diff --git a/target/linux/patches/3.1.8/zlib-inflate.patch b/target/linux/patches/3.1.9/zlib-inflate.patch
index 58e1f6d21..58e1f6d21 100644
--- a/target/linux/patches/3.1.8/zlib-inflate.patch
+++ b/target/linux/patches/3.1.9/zlib-inflate.patch
diff --git a/target/linux/patches/3.2/bsd-compatibility.patch b/target/linux/patches/3.2.1/bsd-compatibility.patch
index 9e91a62de..9e91a62de 100644
--- a/target/linux/patches/3.2/bsd-compatibility.patch
+++ b/target/linux/patches/3.2.1/bsd-compatibility.patch
diff --git a/target/linux/patches/3.2/cris-etrax.patch b/target/linux/patches/3.2.1/cris-etrax.patch
index a80d9a8b8..a80d9a8b8 100644
--- a/target/linux/patches/3.2/cris-etrax.patch
+++ b/target/linux/patches/3.2.1/cris-etrax.patch
diff --git a/target/linux/patches/3.2/defaults.patch b/target/linux/patches/3.2.1/defaults.patch
index 58aae610b..58aae610b 100644
--- a/target/linux/patches/3.2/defaults.patch
+++ b/target/linux/patches/3.2.1/defaults.patch
diff --git a/target/linux/patches/3.2/gemalto.patch b/target/linux/patches/3.2.1/gemalto.patch
index f3c223b5e..f3c223b5e 100644
--- a/target/linux/patches/3.2/gemalto.patch
+++ b/target/linux/patches/3.2.1/gemalto.patch
diff --git a/target/linux/patches/3.2/mmc-host.patch b/target/linux/patches/3.2.1/mmc-host.patch
index 3d0e37add..3d0e37add 100644
--- a/target/linux/patches/3.2/mmc-host.patch
+++ b/target/linux/patches/3.2.1/mmc-host.patch
diff --git a/target/linux/patches/3.2/non-static.patch b/target/linux/patches/3.2.1/non-static.patch
index a967703d0..a967703d0 100644
--- a/target/linux/patches/3.2/non-static.patch
+++ b/target/linux/patches/3.2.1/non-static.patch
diff --git a/target/linux/patches/3.2/sparc-include.patch b/target/linux/patches/3.2.1/sparc-include.patch
index 2f8ffd061..2f8ffd061 100644
--- a/target/linux/patches/3.2/sparc-include.patch
+++ b/target/linux/patches/3.2.1/sparc-include.patch
diff --git a/target/linux/patches/3.2/startup.patch b/target/linux/patches/3.2.1/startup.patch
index 68e8987b0..68e8987b0 100644
--- a/target/linux/patches/3.2/startup.patch
+++ b/target/linux/patches/3.2.1/startup.patch
diff --git a/target/linux/patches/3.2/usb-defaults-off.patch b/target/linux/patches/3.2.1/usb-defaults-off.patch
index 31367108a..31367108a 100644
--- a/target/linux/patches/3.2/usb-defaults-off.patch
+++ b/target/linux/patches/3.2.1/usb-defaults-off.patch
diff --git a/target/linux/patches/3.2/uuid.patch b/target/linux/patches/3.2.1/uuid.patch
index 2529fdab5..2529fdab5 100644
--- a/target/linux/patches/3.2/uuid.patch
+++ b/target/linux/patches/3.2.1/uuid.patch
diff --git a/target/linux/patches/3.2/vga-cons-default-off.patch b/target/linux/patches/3.2.1/vga-cons-default-off.patch
index 178aeeeb9..178aeeeb9 100644
--- a/target/linux/patches/3.2/vga-cons-default-off.patch
+++ b/target/linux/patches/3.2.1/vga-cons-default-off.patch
diff --git a/target/linux/patches/3.2/wlan-cf.patch b/target/linux/patches/3.2.1/wlan-cf.patch
index fc20759e2..fc20759e2 100644
--- a/target/linux/patches/3.2/wlan-cf.patch
+++ b/target/linux/patches/3.2.1/wlan-cf.patch
diff --git a/target/linux/patches/3.2/x86-build.patch b/target/linux/patches/3.2.1/x86-build.patch
index 339140f41..339140f41 100644
--- a/target/linux/patches/3.2/x86-build.patch
+++ b/target/linux/patches/3.2.1/x86-build.patch
diff --git a/target/linux/patches/3.2/zlib-inflate.patch b/target/linux/patches/3.2.1/zlib-inflate.patch
index 58e1f6d21..58e1f6d21 100644
--- a/target/linux/patches/3.2/zlib-inflate.patch
+++ b/target/linux/patches/3.2.1/zlib-inflate.patch
diff --git a/toolchain/kernel-headers/patches/3.0.9/aufs2.patch b/toolchain/kernel-headers/patches/3.0.17/aufs2.patch
index eafbe6814..eafbe6814 100644
--- a/toolchain/kernel-headers/patches/3.0.9/aufs2.patch
+++ b/toolchain/kernel-headers/patches/3.0.17/aufs2.patch
diff --git a/toolchain/kernel-headers/patches/3.0.9/cleankernel.patch b/toolchain/kernel-headers/patches/3.0.17/cleankernel.patch
index f8d5448ee..f8d5448ee 100644
--- a/toolchain/kernel-headers/patches/3.0.9/cleankernel.patch
+++ b/toolchain/kernel-headers/patches/3.0.17/cleankernel.patch
diff --git a/toolchain/kernel-headers/patches/3.0.9/etrax-header.patch b/toolchain/kernel-headers/patches/3.0.17/etrax-header.patch
index 0c644ce25..0c644ce25 100644
--- a/toolchain/kernel-headers/patches/3.0.9/etrax-header.patch
+++ b/toolchain/kernel-headers/patches/3.0.17/etrax-header.patch
diff --git a/toolchain/kernel-headers/patches/3.0.9/linux-gcc-check.patch b/toolchain/kernel-headers/patches/3.0.17/linux-gcc-check.patch
index 7cc381845..7cc381845 100644
--- a/toolchain/kernel-headers/patches/3.0.9/linux-gcc-check.patch
+++ b/toolchain/kernel-headers/patches/3.0.17/linux-gcc-check.patch
diff --git a/toolchain/kernel-headers/patches/3.0.9/microperl.patch b/toolchain/kernel-headers/patches/3.0.17/microperl.patch
index 2955b7421..2955b7421 100644
--- a/toolchain/kernel-headers/patches/3.0.9/microperl.patch
+++ b/toolchain/kernel-headers/patches/3.0.17/microperl.patch
diff --git a/toolchain/kernel-headers/patches/3.1.8/aufs2.patch b/toolchain/kernel-headers/patches/3.1.9/aufs2.patch
index d40c9a3fe..d40c9a3fe 100644
--- a/toolchain/kernel-headers/patches/3.1.8/aufs2.patch
+++ b/toolchain/kernel-headers/patches/3.1.9/aufs2.patch
diff --git a/toolchain/kernel-headers/patches/3.1.8/cleankernel.patch b/toolchain/kernel-headers/patches/3.1.9/cleankernel.patch
index f8d5448ee..f8d5448ee 100644
--- a/toolchain/kernel-headers/patches/3.1.8/cleankernel.patch
+++ b/toolchain/kernel-headers/patches/3.1.9/cleankernel.patch
diff --git a/toolchain/kernel-headers/patches/3.1.8/etrax-header.patch b/toolchain/kernel-headers/patches/3.1.9/etrax-header.patch
index 0c644ce25..0c644ce25 100644
--- a/toolchain/kernel-headers/patches/3.1.8/etrax-header.patch
+++ b/toolchain/kernel-headers/patches/3.1.9/etrax-header.patch
diff --git a/toolchain/kernel-headers/patches/3.1.8/linux-gcc-check.patch b/toolchain/kernel-headers/patches/3.1.9/linux-gcc-check.patch
index 7cc381845..7cc381845 100644
--- a/toolchain/kernel-headers/patches/3.1.8/linux-gcc-check.patch
+++ b/toolchain/kernel-headers/patches/3.1.9/linux-gcc-check.patch
diff --git a/toolchain/kernel-headers/patches/3.1.8/microperl.patch b/toolchain/kernel-headers/patches/3.1.9/microperl.patch
index 2955b7421..2955b7421 100644
--- a/toolchain/kernel-headers/patches/3.1.8/microperl.patch
+++ b/toolchain/kernel-headers/patches/3.1.9/microperl.patch
diff --git a/toolchain/kernel-headers/patches/3.2/aufs2.patch b/toolchain/kernel-headers/patches/3.2.1/aufs2.patch
index d40c9a3fe..d40c9a3fe 100644
--- a/toolchain/kernel-headers/patches/3.2/aufs2.patch
+++ b/toolchain/kernel-headers/patches/3.2.1/aufs2.patch
diff --git a/toolchain/kernel-headers/patches/3.2/cleankernel.patch b/toolchain/kernel-headers/patches/3.2.1/cleankernel.patch
index f8d5448ee..f8d5448ee 100644
--- a/toolchain/kernel-headers/patches/3.2/cleankernel.patch
+++ b/toolchain/kernel-headers/patches/3.2.1/cleankernel.patch
diff --git a/toolchain/kernel-headers/patches/3.2/etrax-header.patch b/toolchain/kernel-headers/patches/3.2.1/etrax-header.patch
index 0c644ce25..0c644ce25 100644
--- a/toolchain/kernel-headers/patches/3.2/etrax-header.patch
+++ b/toolchain/kernel-headers/patches/3.2.1/etrax-header.patch
diff --git a/toolchain/kernel-headers/patches/3.2/linux-gcc-check.patch b/toolchain/kernel-headers/patches/3.2.1/linux-gcc-check.patch
index 7cc381845..7cc381845 100644
--- a/toolchain/kernel-headers/patches/3.2/linux-gcc-check.patch
+++ b/toolchain/kernel-headers/patches/3.2.1/linux-gcc-check.patch
diff --git a/toolchain/kernel-headers/patches/3.2/microperl.patch b/toolchain/kernel-headers/patches/3.2.1/microperl.patch
index 2955b7421..2955b7421 100644
--- a/toolchain/kernel-headers/patches/3.2/microperl.patch
+++ b/toolchain/kernel-headers/patches/3.2.1/microperl.patch