summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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