diff options
author | Jonas Gorski <jogo@openwrt.org> | 2013-05-09 20:50:07 +0000 |
---|---|---|
committer | Jonas Gorski <jogo@openwrt.org> | 2013-05-09 20:50:07 +0000 |
commit | 0b03ff2028ebb0ddc4cba7db1f9649905cc648e2 (patch) | |
tree | a25ed67cc572bdcdb3fb26e652043bb1417f47ab /target | |
parent | a424aa612396a0105889664486b68ab0a3e91b2e (diff) | |
download | mtk-20170518-0b03ff2028ebb0ddc4cba7db1f9649905cc648e2.zip mtk-20170518-0b03ff2028ebb0ddc4cba7db1f9649905cc648e2.tar.gz mtk-20170518-0b03ff2028ebb0ddc4cba7db1f9649905cc648e2.tar.bz2 |
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>
SVN-Revision: 36592
Diffstat (limited to 'target')
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 0000000..2cf86d0 --- /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 0000000..cadc029 --- /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 0000000..cadc029 --- /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 0000000..0a89a09 --- /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 0000000..0a89a09 --- /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" + |