Forráskód Böngészése

add support for oldest supported kernel

Waldemar Brodkorb 9 éve
szülő
commit
bdea175e63

+ 6 - 0
mk/kernel-ver.mk

@@ -40,3 +40,9 @@ KERNEL_MOD_VERSION:=	$(KERNEL_VERSION)
 KERNEL_RELEASE:=	1
 KERNEL_HASH:=		8554d6a7dcd18d35f7cd6a60c86292c699443c4d6344e81efdb33010b6cb8026
 endif
+ifeq ($(ADK_KERNEL_VERSION_2_6_32_65),y)
+KERNEL_VERSION:=	2.6.32.65
+KERNEL_MOD_VERSION:=	$(KERNEL_VERSION)
+KERNEL_RELEASE:=	1
+KERNEL_HASH:=		78d36cbcd5cb12c9e33697d9c69b3a7aa59120779884526662d5f0977c530c65
+endif

+ 2 - 1
mk/linux.mk

@@ -6,5 +6,6 @@ PKG_VERSION:=	$(KERNEL_VERSION)
 PKG_RELEASE:=	$(KERNEL_RELEASE)
 PKG_HASH:=	$(KERNEL_HASH)
 PKG_SITES:=  	${MASTER_SITE_KERNEL:=kernel/v3.0/} \
-		${MASTER_SITE_KERNEL:=kernel/v3.0/testing/}
+		${MASTER_SITE_KERNEL:=kernel/v3.0/testing/} \
+		${MASTER_SITE_KERNEL:=kernel/v2.6/longterm/v2.6.32/}
 DISTFILES=	$(PKG_NAME)-$(PKG_VERSION).tar.xz

+ 8 - 0
target/config/Config.in.kernelversion.choice

@@ -51,4 +51,12 @@ config ADK_KERNEL_VERSION_3_2_66
 	depends on !ADK_TARGET_ARCH_NIOS2
 	select ADK_KERNEL_VERSION_3_2
 
+config ADK_KERNEL_VERSION_2_6_32_65
+	bool "2.6.32.65"
+	depends on !ADK_TARGET_SYSTEM_RASPBERRY_PI
+	depends on !ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
+	depends on !ADK_TARGET_SYSTEM_MIKROTIK_RB4XX
+	depends on !ADK_TARGET_ARCH_NIOS2
+	select ADK_KERNEL_VERSION_2_6_32
+
 endchoice

+ 4 - 0
target/config/Config.in.kernelversion.default

@@ -22,6 +22,9 @@ config ADK_KERNEL_VERSION_3_4
 config ADK_KERNEL_VERSION_3_2
 	bool
 
+config ADK_KERNEL_VERSION_2_6_32
+	bool
+
 config ADK_KERNEL_VERSION
 	string
 	default "3.19" if ADK_KERNEL_VERSION_3_19_0
@@ -31,6 +34,7 @@ config ADK_KERNEL_VERSION
 	default "3.10.53" if ADK_KERNEL_VERSION_3_10_53
 	default "3.4.103" if ADK_KERNEL_VERSION_3_4_103
 	default "3.2.66" if ADK_KERNEL_VERSION_3_2_66
+	default "2.6.32.65" if ADK_KERNEL_VERSION_2_6_32_65
 	help
 	  Kernel Version.