On Thu, 2016-11-10 at 17:08 +0100, Paul Bolle wrote: > In the %prep stage of the kernel build we run the "make oldnoconfig" target > fifteen times. And every time it prints: > scripts/kconfig/conf --olddefconfig Kconfig > # > # configuration written to .config > # > > Run this target silently so these four lines are suppressed. Josh objected to 3/5. So I cobbled together an alternative to this patch that does most I want in 1/5 and 3/5. It should be more palatable to Josh. See below. I'll resend this series in a week or so after (other) people have had a chance to look at patches 2 to 5 too. Thanks, Paul Bolle Subject: [PATCH] Don't run oldnoconfig twice The .config file used to build the kernel is generated with "make oldnoconfig" during the %build stage. So there's no need to also call "make oldnoconfig" during the %prep stage, as that can't possibly change anything. Not-yet-signed-off-by: Paul Bolle <pebolle@xxxxxxxxxx> --- kernel.spec | 1 - 1 file changed, 1 deletion(-) diff --git a/kernel.spec b/kernel.spec index abe0ab6a5ef8..51dc62dae014 100644 --- a/kernel.spec +++ b/kernel.spec @@ -1308,7 +1308,6 @@ do fi rm -f .newoptions %endif - make ARCH=$Arch oldnoconfig echo "# $Arch" > configs/$i cat .config >> configs/$i done -- 2.7.4 _______________________________________________ kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx