package/aufs: add support for linux 5.x

Signed-off-by: Alexey Lukyanchuk <skif@skif-web.ru>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Alexey Lukyanchuk 2020-02-25 15:29:13 +03:00 committed by Thomas Petazzoni
parent b36e2eca20
commit 2051060054
2 changed files with 10 additions and 1 deletions

View File

@ -102,7 +102,8 @@ choice
help help
Select the major series of this version. This must match the Select the major series of this version. This must match the
major version of your kernel (e.g. for kernels 3.x, select major version of your kernel (e.g. for kernels 3.x, select
aufs3.x; for kernels 4.x, select aufs4.x). aufs3.x; for kernels 4.x, select aufs4.x; for kernels 5.x,
select aufs5.x ).
Note: neither aufs1.x nor aufs2.x (both for kernels older than Note: neither aufs1.x nor aufs2.x (both for kernels older than
3.x) are supported. 3.x) are supported.
@ -113,12 +114,16 @@ config BR2_LINUX_KERNEL_EXT_AUFS_SERIES_3
config BR2_LINUX_KERNEL_EXT_AUFS_SERIES_4 config BR2_LINUX_KERNEL_EXT_AUFS_SERIES_4
bool "aufs4.x" bool "aufs4.x"
config BR2_LINUX_KERNEL_EXT_AUFS_SERIES_5
bool "aufs5.x"
endchoice endchoice
config BR2_LINUX_KERNEL_EXT_AUFS_SERIES config BR2_LINUX_KERNEL_EXT_AUFS_SERIES
int int
default 3 if BR2_LINUX_KERNEL_EXT_AUFS_SERIES_3 default 3 if BR2_LINUX_KERNEL_EXT_AUFS_SERIES_3
default 4 if BR2_LINUX_KERNEL_EXT_AUFS_SERIES_4 default 4 if BR2_LINUX_KERNEL_EXT_AUFS_SERIES_4
default 5 if BR2_LINUX_KERNEL_EXT_AUFS_SERIES_5
config BR2_LINUX_KERNEL_EXT_AUFS_VERSION config BR2_LINUX_KERNEL_EXT_AUFS_VERSION
string "aufs-standalone version" string "aufs-standalone version"
@ -135,6 +140,8 @@ config BR2_LINUX_KERNEL_EXT_AUFS_VERSION
https://sourceforge.net/p/aufs/aufs3-standalone/ref/master/branches/ https://sourceforge.net/p/aufs/aufs3-standalone/ref/master/branches/
For aufs4.x: For aufs4.x:
https://github.com/sfjro/aufs4-standalone/branches/all https://github.com/sfjro/aufs4-standalone/branches/all
For aufs5.x:
https://github.com/sfjro/aufs5-standalone/branches/all
endif # aufs endif # aufs

View File

@ -13,6 +13,8 @@ AUFS_SITE = http://git.code.sf.net/p/aufs/aufs3-standalone
AUFS_SITE_METHOD = git AUFS_SITE_METHOD = git
else ifeq ($(BR2_PACKAGE_AUFS_SERIES),4) else ifeq ($(BR2_PACKAGE_AUFS_SERIES),4)
AUFS_SITE = $(call github,sfjro,aufs4-standalone,$(AUFS_VERSION)) AUFS_SITE = $(call github,sfjro,aufs4-standalone,$(AUFS_VERSION))
else ifeq ($(BR2_PACKAGE_AUFS_SERIES),5)
AUFS_SITE = $(call github,sfjro,aufs5-standalone,$(AUFS_VERSION))
endif endif
ifeq ($(BR_BUILDING):$(BR2_PACKAGE_AUFS):$(AUFS_VERSION),y:y:) ifeq ($(BR_BUILDING):$(BR2_PACKAGE_AUFS):$(AUFS_VERSION),y:y:)