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

Last change on this file since 349 was 349, checked in by ehem, 10 years ago

Rework the openwrt/patch target. Instead of patching with a hand-rolled
list of patches, scan the appropriate directories for patch files. Patch
filenames now MUST match the pattern [0-9]+(-[0-9]*:[0-9]*)_<name>. The
lead digits specify order of application, lower numbers are applied
first. If present, the two subsequent numbers indicate a range of
Subversion revisions that a given patch applies to. If a number is
absent, the range is interpreted to include all older revisions or all
newer revisions as appropriate.

Adjust openwrt/unpatch target to match (patches are now removed in
reverse order). Adjust the generate script to match.

File size: 1.9 KB
  • 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.