Changeset 26636


Ignore:
Timestamp:
2011-04-13T01:18:53+02:00 (7 years ago)
Author:
acinonyx
Message:

[package] kernel/modules: Add zlib package

Location:
trunk/package/kernel/modules
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/kernel/modules/fs.mk

    r26632 r26636  
    11# 
    2 # Copyright (C) 2006-2010 OpenWrt.org 
     2# Copyright (C) 2006-2011 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    2626  SUBMENU:=$(FS_MENU) 
    2727  TITLE:=BTRFS filesystem support 
    28   DEPENDS:=+kmod-libcrc32c 
     28  DEPENDS:=+kmod-libcrc32c +kmod-zlib 
    2929  KCONFIG:=\ 
    3030        CONFIG_BTRFS_FS \ 
    31         CONFIG_BTRFS_FS_POSIX_ACL=n \ 
    32         CONFIG_ZLIB_DEFLATE 
     31        CONFIG_BTRFS_FS_POSIX_ACL=n 
    3332  FILES:=\ 
    34         $(LINUX_DIR)/fs/btrfs/btrfs.ko \ 
    35         $(LINUX_DIR)/lib/zlib_deflate/zlib_deflate.ko 
    36   AUTOLOAD:=$(call AutoLoad,30,zlib_deflate btrfs,1) 
     33        $(LINUX_DIR)/fs/btrfs/btrfs.ko 
     34  AUTOLOAD:=$(call AutoLoad,30,btrfs,1) 
    3735endef 
    3836 
  • trunk/package/kernel/modules/lib.mk

    r26635 r26636  
    101101 
    102102$(eval $(call KernelPackage,textsearch)) 
     103 
     104 
     105define KernelPackage/zlib 
     106  SUBMENU:=$(LIB_MENU) 
     107  TITLE:=zlib support is selected if needed 
     108  KCONFIG:=CONFIG_ZLIB_DEFLATE 
     109  FILES:=$(LINUX_DIR)/lib/zlib_deflate/zlib_deflate.ko 
     110  AUTOLOAD:=$(call AutoLoad,20,zlib_deflate,1) 
     111endef 
     112 
     113$(eval $(call KernelPackage,zlib)) 
Note: See TracChangeset for help on using the changeset viewer.