From: Mieczyslaw Nalewaj Date: Wed, 16 Apr 2025 05:53:51 +0000 (+0200) Subject: kernel: filter out compiler RUSTC opts from config X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f0dc74091520f02cab1df02e80b5423178d80aa;p=thirdparty%2Fopenwrt.git kernel: filter out compiler RUSTC opts from config These get dynamically set, not relevant for targets. Signed-off-by: Mieczyslaw Nalewaj Link: https://github.com/openwrt/openwrt/pull/16547 Signed-off-by: Christian Marangi --- diff --git a/target/linux/generic/config-6.12 b/target/linux/generic/config-6.12 index 58973b9df88..4e78c0161d0 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 274c31ecb07..e01d7471703 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