aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2013-05-09 20:50:07 +0000
committerJonas Gorski <jogo@openwrt.org>2013-05-09 20:50:07 +0000
commit966c5dcfa286cb84f0a63032a6da8769a89c85ee (patch)
treed37449f783b7ac06efdb8728266dd3117c454eeb
parent1bb5b406f4f6df0583afca0096fb0cc7a9bc1754 (diff)
downloadmaster-187ad058-966c5dcfa286cb84f0a63032a6da8769a89c85ee.tar.gz
master-187ad058-966c5dcfa286cb84f0a63032a6da8769a89c85ee.tar.bz2
master-187ad058-966c5dcfa286cb84f0a63032a6da8769a89c85ee.zip
kernel: make zlib and lzo modules selectable
Fixes building kmod-lib-zlib and kmod-lib-lzo if nothing depends on them. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36592 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--target/linux/generic/patches-3.3/259-compressor_kconfig_hack.patch23
-rw-r--r--target/linux/generic/patches-3.6/259-compressor_kconfig_hack.patch23
-rw-r--r--target/linux/generic/patches-3.7/262-compressor_kconfig_hack.patch23
-rw-r--r--target/linux/generic/patches-3.8/262-compressor_kconfig_hack.patch23
-rw-r--r--target/linux/generic/patches-3.9/262-compressor_kconfig_hack.patch23
5 files changed, 115 insertions, 0 deletions
diff --git a/target/linux/generic/patches-3.3/259-compressor_kconfig_hack.patch b/target/linux/generic/patches-3.3/259-compressor_kconfig_hack.patch
new file mode 100644
index 0000000000..2cf86d0880
--- /dev/null
+++ b/target/linux/generic/patches-3.3/259-compressor_kconfig_hack.patch
@@ -0,0 +1,23 @@
+--- a/lib/Kconfig
++++ b/lib/Kconfig
+@@ -105,16 +105,16 @@ config AUDIT_GENERIC
+ # compression support is select'ed if needed
+ #
+ config ZLIB_INFLATE
+- tristate
++ tristate "ZLIB inflate support"
+
+ config ZLIB_DEFLATE
+- tristate
++ tristate "ZLIB deflate support"
+
+ config LZO_COMPRESS
+- tristate
++ tristate "LZO compress support"
+
+ config LZO_DECOMPRESS
+- tristate
++ tristate "LZO decompress support"
+
+ source "lib/xz/Kconfig"
+
diff --git a/target/linux/generic/patches-3.6/259-compressor_kconfig_hack.patch b/target/linux/generic/patches-3.6/259-compressor_kconfig_hack.patch
new file mode 100644
index 0000000000..cadc029e91
--- /dev/null
+++ b/target/linux/generic/patches-3.6/259-compressor_kconfig_hack.patch
@@ -0,0 +1,23 @@
+--- a/lib/Kconfig
++++ b/lib/Kconfig
+@@ -175,16 +175,16 @@ config AUDIT_GENERIC
+ # compression support is select'ed if needed
+ #
+ config ZLIB_INFLATE
+- tristate
++ tristate "ZLIB inflate support"
+
+ config ZLIB_DEFLATE
+- tristate
++ tristate "ZLIB deflate support"
+
+ config LZO_COMPRESS
+- tristate
++ tristate "LZO compress support"
+
+ config LZO_DECOMPRESS
+- tristate
++ tristate "LZO decompress support"
+
+ source "lib/xz/Kconfig"
+
diff --git a/target/linux/generic/patches-3.7/262-compressor_kconfig_hack.patch b/target/linux/generic/patches-3.7/262-compressor_kconfig_hack.patch
new file mode 100644
index 0000000000..cadc029e91
--- /dev/null
+++ b/target/linux/generic/patches-3.7/262-compressor_kconfig_hack.patch
@@ -0,0 +1,23 @@
+--- a/lib/Kconfig
++++ b/lib/Kconfig
+@@ -175,16 +175,16 @@ config AUDIT_GENERIC
+ # compression support is select'ed if needed
+ #
+ config ZLIB_INFLATE
+- tristate
++ tristate "ZLIB inflate support"
+
+ config ZLIB_DEFLATE
+- tristate
++ tristate "ZLIB deflate support"
+
+ config LZO_COMPRESS
+- tristate
++ tristate "LZO compress support"
+
+ config LZO_DECOMPRESS
+- tristate
++ tristate "LZO decompress support"
+
+ source "lib/xz/Kconfig"
+
diff --git a/target/linux/generic/patches-3.8/262-compressor_kconfig_hack.patch b/target/linux/generic/patches-3.8/262-compressor_kconfig_hack.patch
new file mode 100644
index 0000000000..0a89a0906e
--- /dev/null
+++ b/target/linux/generic/patches-3.8/262-compressor_kconfig_hack.patch
@@ -0,0 +1,23 @@
+--- a/lib/Kconfig
++++ b/lib/Kconfig
+@@ -178,16 +178,16 @@ config AUDIT_GENERIC
+ # compression support is select'ed if needed
+ #
+ config ZLIB_INFLATE
+- tristate
++ tristate "ZLIB inflate support"
+
+ config ZLIB_DEFLATE
+- tristate
++ tristate "ZLIB deflate support"
+
+ config LZO_COMPRESS
+- tristate
++ tristate "LZO compress support"
+
+ config LZO_DECOMPRESS
+- tristate
++ tristate "LZO decompress support"
+
+ source "lib/xz/Kconfig"
+
diff --git a/target/linux/generic/patches-3.9/262-compressor_kconfig_hack.patch b/target/linux/generic/patches-3.9/262-compressor_kconfig_hack.patch
new file mode 100644
index 0000000000..0a89a0906e
--- /dev/null
+++ b/target/linux/generic/patches-3.9/262-compressor_kconfig_hack.patch
@@ -0,0 +1,23 @@
+--- a/lib/Kconfig
++++ b/lib/Kconfig
+@@ -178,16 +178,16 @@ config AUDIT_GENERIC
+ # compression support is select'ed if needed
+ #
+ config ZLIB_INFLATE
+- tristate
++ tristate "ZLIB inflate support"
+
+ config ZLIB_DEFLATE
+- tristate
++ tristate "ZLIB deflate support"
+
+ config LZO_COMPRESS
+- tristate
++ tristate "LZO compress support"
+
+ config LZO_DECOMPRESS
+- tristate
++ tristate "LZO decompress support"
+
+ source "lib/xz/Kconfig"
+