[packages/kernel/LINUX_6_18] Merge make listnewconfig check from master.
arekm
arekm at pld-linux.org
Tue Feb 10 21:59:21 CET 2026
commit e0712321933d35a9564902af315275420972bf9d
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Tue Feb 10 21:59:12 2026 +0100
Merge make listnewconfig check from master.
kernel.spec | 15 +++++++++++++++
1 file changed, 15 insertions(+)
---
diff --git a/kernel.spec b/kernel.spec
index 28f3e8ea..38b60446 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -858,6 +858,21 @@ BuildConfig > %{defconfig}
ln -sf %{defconfig} .config
cd -
+# check config consistency
+NC=$(%{__make} \
+ -s \
+ TARGETOBJ=%{targetobj} \
+ V=0 \
+ KCONFIG_WERROR=1 \
+ listnewconfig)
+
+if [ -n "$NC" ]; then
+ echo "New configuration options:"
+ echo "$NC"
+ echo "New configuration options (listed above) detected."
+ exit 1
+fi
+
%{__make} \
TARGETOBJ=%{targetobj} \
%{?with_verbose:V=1} \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/kernel.git/commitdiff/e0712321933d35a9564902af315275420972bf9d
More information about the pld-cvs-commit
mailing list