mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-28 21:56:31 +00:00
linux: add support for 4.x versions
Signed-off-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
c6c8fbcdf4
commit
a0e44a348a
@ -25,12 +25,14 @@ LINUX_SITE_METHOD = hg
|
|||||||
else
|
else
|
||||||
LINUX_SOURCE = linux-$(LINUX_VERSION).tar.xz
|
LINUX_SOURCE = linux-$(LINUX_VERSION).tar.xz
|
||||||
# In X.Y.Z, get X and Y. We replace dots and dashes by spaces in order
|
# In X.Y.Z, get X and Y. We replace dots and dashes by spaces in order
|
||||||
# to use the $(word) function. We support versions such as 3.1,
|
# to use the $(word) function. We support versions such as 4.0, 3.1,
|
||||||
# 2.6.32, 2.6.32-rc1, 3.0-rc6, etc.
|
# 2.6.32, 2.6.32-rc1, 3.0-rc6, etc.
|
||||||
ifeq ($(findstring x2.6.,x$(LINUX_VERSION)),x2.6.)
|
ifeq ($(findstring x2.6.,x$(LINUX_VERSION)),x2.6.)
|
||||||
LINUX_SITE = $(BR2_KERNEL_MIRROR)/linux/kernel/v2.6
|
LINUX_SITE = $(BR2_KERNEL_MIRROR)/linux/kernel/v2.6
|
||||||
else
|
else ifeq ($(findstring x3.,x$(LINUX_VERSION)),x3.)
|
||||||
LINUX_SITE = $(BR2_KERNEL_MIRROR)/linux/kernel/v3.x
|
LINUX_SITE = $(BR2_KERNEL_MIRROR)/linux/kernel/v3.x
|
||||||
|
else ifeq ($(findstring x4.,x$(LINUX_VERSION)),x4.)
|
||||||
|
LINUX_SITE = $(BR2_KERNEL_MIRROR)/linux/kernel/v4.x
|
||||||
endif
|
endif
|
||||||
# release candidates are in testing/ subdir
|
# release candidates are in testing/ subdir
|
||||||
ifneq ($(findstring -rc,$(LINUX_VERSION)),)
|
ifneq ($(findstring -rc,$(LINUX_VERSION)),)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user