package/linux-headers: restrict versions available on C-SKY
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Fri, 31 May 2019 14:01:31 +0000 (16:01 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Fri, 31 May 2019 21:00:42 +0000 (23:00 +0200)
The C-SKY architecture was merged in the upstream Linux kernel
4.20. Therefore, kernel headers from a Linux version earlier than that
cannot be used to build a C-SKY toolchain.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/linux-headers/Config.in.host

index 2042702eb93c6b1182ce7b47ab4736ec24c0be57..2945bbf09e37b16a8973f1b18a7d279d4f76ee24 100644 (file)
@@ -29,20 +29,24 @@ config BR2_KERNEL_HEADERS_AS_KERNEL
 config BR2_KERNEL_HEADERS_4_4
        bool "Linux 4.4.x kernel headers"
        depends on !BR2_riscv
+       depends on !BR2_csky
        select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_4
 
 config BR2_KERNEL_HEADERS_4_9
        bool "Linux 4.9.x kernel headers"
        depends on !BR2_riscv
+       depends on !BR2_csky
        select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9
 
 config BR2_KERNEL_HEADERS_4_14
        bool "Linux 4.14.x kernel headers"
        depends on !BR2_riscv
+       depends on !BR2_csky
        select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_14
 
 config BR2_KERNEL_HEADERS_4_19
        bool "Linux 4.19.x kernel headers"
+       depends on !BR2_csky
        select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_19
 
 config BR2_KERNEL_HEADERS_5_0