mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-28 21:56:31 +00:00
kernel-headers: add 3.0
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
6a7611b540
commit
d58aab892e
@ -6,7 +6,7 @@ comment "Kernel Header Options"
|
|||||||
|
|
||||||
choice
|
choice
|
||||||
prompt "Kernel Headers"
|
prompt "Kernel Headers"
|
||||||
default BR2_KERNEL_HEADERS_2_6_39
|
default BR2_KERNEL_HEADERS_3_0
|
||||||
help
|
help
|
||||||
Select the version of kernel header files you wish to use.
|
Select the version of kernel header files you wish to use.
|
||||||
You must select the correct set of header files to match
|
You must select the correct set of header files to match
|
||||||
@ -30,6 +30,9 @@ choice
|
|||||||
config BR2_KERNEL_HEADERS_2_6_39
|
config BR2_KERNEL_HEADERS_2_6_39
|
||||||
bool "Linux 2.6.39.x kernel headers"
|
bool "Linux 2.6.39.x kernel headers"
|
||||||
|
|
||||||
|
config BR2_KERNEL_HEADERS_3_0
|
||||||
|
bool "Linux 3.0.x kernel headers"
|
||||||
|
|
||||||
config BR2_KERNEL_HEADERS_VERSION
|
config BR2_KERNEL_HEADERS_VERSION
|
||||||
bool "Linux 2.6 (manually specified version)"
|
bool "Linux 2.6 (manually specified version)"
|
||||||
|
|
||||||
@ -51,5 +54,6 @@ config BR2_DEFAULT_KERNEL_HEADERS
|
|||||||
default "2.6.37.6" if BR2_KERNEL_HEADERS_2_6_37
|
default "2.6.37.6" if BR2_KERNEL_HEADERS_2_6_37
|
||||||
default "2.6.38.8" if BR2_KERNEL_HEADERS_2_6_38
|
default "2.6.38.8" if BR2_KERNEL_HEADERS_2_6_38
|
||||||
default "2.6.39.3" if BR2_KERNEL_HEADERS_2_6_39
|
default "2.6.39.3" if BR2_KERNEL_HEADERS_2_6_39
|
||||||
|
default "3.0" if BR2_KERNEL_HEADERS_3_0
|
||||||
default "2.6" if BR2_KERNEL_HEADERS_SNAP
|
default "2.6" if BR2_KERNEL_HEADERS_SNAP
|
||||||
default $BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION
|
default $BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION
|
||||||
|
@ -26,7 +26,11 @@ SUBLEVEL:=$(if $(SUBLEVEL),.$(SUBLEVEL),)
|
|||||||
EXTRAVERSION:=$(if $(EXTRAVERSION),.$(EXTRAVERSION),)
|
EXTRAVERSION:=$(if $(EXTRAVERSION),.$(EXTRAVERSION),)
|
||||||
|
|
||||||
LINUX_HEADERS_VERSION:=$(VERSION).$(PATCHLEVEL)$(SUBLEVEL)$(EXTRAVERSION)
|
LINUX_HEADERS_VERSION:=$(VERSION).$(PATCHLEVEL)$(SUBLEVEL)$(EXTRAVERSION)
|
||||||
|
ifeq ($(findstring x2.6.,x$(DEFAULT_KERNEL_HEADERS)),x2.6.)
|
||||||
LINUX_HEADERS_SITE:=$(BR2_KERNEL_MIRROR)/linux/kernel/v2.6/
|
LINUX_HEADERS_SITE:=$(BR2_KERNEL_MIRROR)/linux/kernel/v2.6/
|
||||||
|
else
|
||||||
|
LINUX_HEADERS_SITE:=$(BR2_KERNEL_MIRROR)/linux/kernel/v3.0/
|
||||||
|
endif
|
||||||
LINUX_HEADERS_SOURCE:=linux-$(LINUX_HEADERS_VERSION).tar.bz2
|
LINUX_HEADERS_SOURCE:=linux-$(LINUX_HEADERS_VERSION).tar.bz2
|
||||||
LINUX_HEADERS_CAT:=$(BZCAT)
|
LINUX_HEADERS_CAT:=$(BZCAT)
|
||||||
LINUX_HEADERS_UNPACK_DIR:=$(TOOLCHAIN_DIR)/linux-$(LINUX_HEADERS_VERSION)
|
LINUX_HEADERS_UNPACK_DIR:=$(TOOLCHAIN_DIR)/linux-$(LINUX_HEADERS_VERSION)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user