source: branches/contrib/openwrt/patches/attitude_adjustment/027-27849:31633_reverse-changeset27849-changes.patch @ 506

Last change on this file since 506 was 506, checked in by ehem, 7 years ago

Get these to match trunk. Actually these won't be used with attitude
adjustment, since it is needed for revisions prior to the branch.

File size: 1.9 KB
  • openwrt/package/kernel/modules/fs.mk

     
    8787  SUBMENU:=$(FS_MENU)
    8888  TITLE:=EXT2 filesystem support
    8989  KCONFIG:=CONFIG_EXT2_FS
    90   DEPENDS:=@LINUX_2_6_30||LINUX_2_6_31
     90  DEPENDS:=$(if $(DUMP)$(CONFIG_FS_MBCACHE),+kmod-fs-mbcache) @LINUX_2_6_30||LINUX_2_6_31
    9191  FILES:=$(LINUX_DIR)/fs/ext2/ext2.ko
    9292  AUTOLOAD:=$(call AutoLoad,32,ext2,1)
    9393endef
     
    105105  KCONFIG:= \
    106106        CONFIG_EXT3_FS \
    107107        CONFIG_JBD
    108   DEPENDS:=@LINUX_2_6_30||LINUX_2_6_31
     108  DEPENDS:=$(if $(DUMP)$(CONFIG_FS_MBCACHE),+kmod-fs-mbcache) @LINUX_2_6_30||LINUX_2_6_31
    109109  FILES:= \
    110110        $(LINUX_DIR)/fs/ext3/ext3.ko \
    111111        $(LINUX_DIR)/fs/jbd/jbd.ko
     
    125125  KCONFIG:= \
    126126        CONFIG_EXT4_FS \
    127127        CONFIG_JBD2
     128  DEPENDS:= $(if $(DUMP)$(CONFIG_FS_MBCACHE),+kmod-fs-mbcache)
    128129  FILES:= \
    129130        $(LINUX_DIR)/fs/ext4/ext4.ko \
    130131        $(LINUX_DIR)/fs/jbd2/jbd2.ko
    131  ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.37)),1)
    132     FILES+= \
    133         $(LINUX_DIR)/fs/mbcache.ko
    134     AUTOLOAD:=$(call AutoLoad,30,mbcache jbd2 ext4,1)
    135  else
    136     AUTOLOAD:=$(call AutoLoad,30,jbd2 ext4,1)
    137  endif
     132  AUTOLOAD:=$(call AutoLoad,30,jbd2 ext4,1)
    138133  $(call AddDepends/crc16)
    139134endef
    140135
     
    193188$(eval $(call KernelPackage,fs-isofs))
    194189
    195190
     191define KernelPackage/fs-mbcache
     192  SUBMENU:=$(FS_MENU)
     193  TITLE:=mbcache (used by ext2/ext3/ext4)
     194  KCONFIG:=CONFIG_FS_MBCACHE
     195  ifneq ($(CONFIG_FS_MBCACHE),)
     196    FILES:=$(LINUX_DIR)/fs/mbcache.ko
     197    AUTOLOAD:=$(call AutoLoad,20,mbcache,1)
     198  endif
     199endef
     200
     201define KernelPackage/fs-mbcache/description
     202 Meta Block cache used by ext2/ext3
     203 This package will only be installed if extended attributes
     204 are enabled for ext2/ext3
     205endef
     206
     207$(eval $(call KernelPackage,fs-mbcache))
     208
     209
    196210define KernelPackage/fs-minix
    197211  SUBMENU:=$(FS_MENU)
    198212  TITLE:=Minix filesystem support
Note: See TracBrowser for help on using the repository browser.