Browse Source

always compile zlib inflate into kernel

Waldemar Brodkorb 13 years ago
parent
commit
534344b747
2 changed files with 12 additions and 5 deletions
  1. 0 5
      mk/modules.mk
  2. 12 0
      target/linux/patches/2.6.37/zlib-inflate.patch

+ 0 - 5
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)) \

+ 12 - 0
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