diff mbox series

[RFC,3/3] kbuild: rpm-pkg: set KCONFIG_NONINTERACTIVE_UPDATE

Message ID 1535968916-9159-4-git-send-email-yamada.masahiro@socionext.com
State New
Headers show
Series kbuild: support syncing .config non-interactively and record ARCH in spec file | expand

Commit Message

Masahiro Yamada Sept. 3, 2018, 10:01 a.m. UTC
Prevent "make syncconfig" from prompting user inputs when new symbols
become available due to build environment changes.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>

---

 scripts/package/mkspec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.7.4
diff mbox series

Patch

diff --git a/scripts/package/mkspec b/scripts/package/mkspec
index f72c46a..86986c1 100755
--- a/scripts/package/mkspec
+++ b/scripts/package/mkspec
@@ -87,7 +87,7 @@  $S	%prep
 $S	%setup -q
 $S
 $S	%build
-$S	make %{?_smp_mflags} ARCH=$ARCH KBUILD_BUILD_VERSION=%{release}
+$S	make %{?_smp_mflags} ARCH=$ARCH KBUILD_BUILD_VERSION=%{release} KCONFIG_NONINTERACTIVE_UPDATE=1
 $S
 	%install
 	mkdir -p %{buildroot}/boot