summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-03-08 13:09:48 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-03-08 13:09:48 +0100
commit534344b7478327166cd5bd8aeb67445474cfb35b (patch)
tree3701fcc56a5838aecf00a91977f9beefdb6233fa
parent8bce7517be0de1a25ab6e0a9d9b916d5380f68b5 (diff)
always compile zlib inflate into kernel
-rw-r--r--mk/modules.mk5
-rw-r--r--target/linux/patches/2.6.37/zlib-inflate.patch12
2 files changed, 12 insertions, 5 deletions
diff --git a/mk/modules.mk b/mk/modules.mk
index 73b354d35..b1456dcb7 100644
--- a/mk/modules.mk
+++ b/mk/modules.mk
@@ -926,11 +926,6 @@ $(eval $(call KMOD_template,CRYPTO_FCRYPT,crypto-fcrypt,\
,11))
ZLIB:=lib/zlib_deflate/zlib_deflate
-ifneq (${ADK_LINUX_NATIVE},y)
-ifneq ($(ADK_TARGET_SYSTEM_IBM_X40),y)
-ZLIB+=lib/zlib_inflate/zlib_inflate
-endif
-endif
$(eval $(call KMOD_template,CRYPTO_DEFLATE,crypto-deflate,\
$(foreach mod, $(ZLIB),$(MODULES_DIR)/kernel/$(mod)) \
diff --git a/target/linux/patches/2.6.37/zlib-inflate.patch b/target/linux/patches/2.6.37/zlib-inflate.patch
new file mode 100644
index 000000000..58e1f6d21
--- /dev/null
+++ b/target/linux/patches/2.6.37/zlib-inflate.patch
@@ -0,0 +1,12 @@
+diff -Nur linux-2.6.37.orig/lib/Kconfig linux-2.6.37/lib/Kconfig
+--- linux-2.6.37.orig/lib/Kconfig 2011-01-05 01:50:19.000000000 +0100
++++ linux-2.6.37/lib/Kconfig 2011-03-01 20:10:29.833370667 +0100
+@@ -95,7 +95,7 @@
+ # compression support is select'ed if needed
+ #
+ config ZLIB_INFLATE
+- tristate
++ boolean
+
+ config ZLIB_DEFLATE
+ tristate