[openwrt/openwrt] kernel: filter out compiler RUSTC opts from config
LEDE Commits
lede-commits at lists.infradead.org
Wed Apr 30 07:28:12 PDT 2025
ansuel pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/7f0dc74091520f02cab1df02e80b5423178d80aa
commit 7f0dc74091520f02cab1df02e80b5423178d80aa
Author: Mieczyslaw Nalewaj <namiltd at yahoo.com>
AuthorDate: Wed Apr 16 07:53:51 2025 +0200
kernel: filter out compiler RUSTC opts from config
These get dynamically set, not relevant for targets.
Signed-off-by: Mieczyslaw Nalewaj <namiltd at yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/16547
Signed-off-by: Christian Marangi <ansuelsmth at gmail.com>
---
target/linux/generic/config-6.12 | 2 --
target/linux/generic/config-filter | 2 ++
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/target/linux/generic/config-6.12 b/target/linux/generic/config-6.12
index 58973b9df8..4e78c0161d 100644
--- a/target/linux/generic/config-6.12
+++ b/target/linux/generic/config-6.12
@@ -5211,8 +5211,6 @@ CONFIG_RTC_SYSTOHC_DEVICE="rtc0"
CONFIG_RT_MUTEXES=y
CONFIG_RUNTIME_TESTING_MENU=y
# CONFIG_RUST is not set
-CONFIG_RUSTC_LLVM_VERSION=0
-CONFIG_RUSTC_VERSION=0
# CONFIG_RV is not set
CONFIG_RXKAD=y
# CONFIG_RXPERF is not set
diff --git a/target/linux/generic/config-filter b/target/linux/generic/config-filter
index 274c31ecb0..e01d747170 100644
--- a/target/linux/generic/config-filter
+++ b/target/linux/generic/config-filter
@@ -16,5 +16,7 @@ CONFIG_LLD_VERSION=.*
CONFIG_PAHOLE_HAS_SPLIT_BTF=.*
CONFIG_PAHOLE_VERSION=.*
CONFIG_PLUGIN_HOSTCC=".*"
+CONFIG_RUSTC_LLVM_VERSION=.*
+CONFIG_RUSTC_VERSION=.*
# CONFIG_SET_FS is not set
# CONFIG_TASKS_.* is not set
More information about the lede-commits
mailing list