diff options
author | Bernd Kuhls <bernd.kuhls@t-online.de> | 2017-08-06 15:40:11 +0200 |
---|---|---|
committer | Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> | 2017-08-08 17:50:39 +0200 |
commit | 1291528bde602120ab4b60d23d1a362d44cc5e04 (patch) | |
tree | 0937dd00be72401a697b27b85418674292d66dc4 | |
parent | 2f33e4556bf5bf078777e88141dc09d0a1a23927 (diff) | |
download | buildroot-1291528bde602120ab4b60d23d1a362d44cc5e04.tar.gz buildroot-1291528bde602120ab4b60d23d1a362d44cc5e04.zip |
linux-headers: aarch64: Prevent selecting unsupported versions
Versions older than Linux v3.7 do not support the aarch64 architecture
so disable them, for reference see https://kernelnewbies.org/Linux_3.7
Without this patch these defconfigs fail to build
BR2_aarch64=y
BR2_KERNEL_HEADERS_3_2=y
BR2_aarch64=y
BR2_KERNEL_HEADERS_3_4=y
with error messages like this:
make[1]: Entering directory '/home/buildroot/br5_next/output/build/linux-headers-3.2.89'
Makefile:567: /home/buildroot/br5_next/output/build/linux-headers-3.2.89/arch/arm64/Makefile: No such file or directory
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
-rw-r--r-- | package/linux-headers/Config.in.host | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/linux-headers/Config.in.host b/package/linux-headers/Config.in.host index 9cf6fed77d..7f07da05f7 100644 --- a/package/linux-headers/Config.in.host +++ b/package/linux-headers/Config.in.host @@ -28,12 +28,12 @@ config BR2_KERNEL_HEADERS_AS_KERNEL config BR2_KERNEL_HEADERS_3_2 bool "Linux 3.2.x kernel headers" - depends on !BR2_arc && !BR2_nios2 + depends on !BR2_aarch64 && !BR2_arc && !BR2_nios2 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2 config BR2_KERNEL_HEADERS_3_4 bool "Linux 3.4.x kernel headers" - depends on !BR2_arc && !BR2_nios2 + depends on !BR2_aarch64 && !BR2_arc && !BR2_nios2 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 config BR2_KERNEL_HEADERS_3_10 |