* Make odroid upstream again * Fix question * Linux 5.7 Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch> * Add patch * Add DT sound * fix build * Fix kernel options * working audio
69 lines
2.7 KiB
Diff
69 lines
2.7 KiB
Diff
From e36dc9a2a030204b5b6c6868348878b596f88de3 Mon Sep 17 00:00:00 2001
|
|
From: Pascal Vizeli <pvizeli@syshack.ch>
|
|
Date: Fri, 5 Jun 2020 14:18:26 +0000
|
|
Subject: [PATCH 1/1] Linux 5.7
|
|
|
|
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch>
|
|
---
|
|
package/linux-headers/Config.in.host | 4 ++++
|
|
toolchain/Config.in | 5 +++++
|
|
.../toolchain-external-custom/Config.in.options | 4 ++++
|
|
3 files changed, 13 insertions(+)
|
|
|
|
diff --git a/package/linux-headers/Config.in.host b/package/linux-headers/Config.in.host
|
|
index 95e85a00..88b9ff99 100644
|
|
--- a/package/linux-headers/Config.in.host
|
|
+++ b/package/linux-headers/Config.in.host
|
|
@@ -127,6 +127,10 @@ choice
|
|
If your kernel headers are more recent than the latest version
|
|
in the choice, then select the latest version.
|
|
|
|
+config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_7
|
|
+ bool "5.7.x or later"
|
|
+ select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_7
|
|
+
|
|
config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_4
|
|
bool "5.4.x or later"
|
|
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4
|
|
diff --git a/toolchain/Config.in b/toolchain/Config.in
|
|
index bff57280..c07a92ce 100644
|
|
--- a/toolchain/Config.in
|
|
+++ b/toolchain/Config.in
|
|
@@ -470,6 +470,10 @@ config BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4
|
|
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_3
|
|
select BR2_TOOLCHAIN_HEADERS_LATEST
|
|
|
|
+config BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_7
|
|
+ bool
|
|
+ select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4
|
|
+
|
|
# This should be selected by the latest version, above, to indicate that
|
|
# Buildroot does not know of more recent headers than the ones selected.
|
|
# This allows using toolchains with headers more recent than Buildroot
|
|
@@ -481,6 +485,7 @@ config BR2_TOOLCHAIN_HEADERS_LATEST
|
|
# stops affecting a value on the first matching default.
|
|
config BR2_TOOLCHAIN_HEADERS_AT_LEAST
|
|
string
|
|
+ default "5.7" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_7
|
|
default "5.4" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4
|
|
default "5.3" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_3
|
|
default "5.2" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_2
|
|
diff --git a/toolchain/toolchain-external/toolchain-external-custom/Config.in.options b/toolchain/toolchain-external/toolchain-external-custom/Config.in.options
|
|
index 8c38dd9f..b49231e1 100644
|
|
--- a/toolchain/toolchain-external/toolchain-external-custom/Config.in.options
|
|
+++ b/toolchain/toolchain-external/toolchain-external-custom/Config.in.options
|
|
@@ -115,6 +115,10 @@ choice
|
|
If your toolchain uses headers newer than the latest version
|
|
in the choice, then select the latest version.
|
|
|
|
+config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_7
|
|
+ bool "5.7.x or later"
|
|
+ select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_7
|
|
+
|
|
config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_4
|
|
bool "5.4.x or later"
|
|
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4
|
|
--
|
|
2.17.1
|
|
|