kbuild: Fix missing '\n' for NEW symbols in yes "" | make oldconfig >conf.new
authorBen Hutchings <ben@decadent.org.uk>
Tue, 19 Feb 2013 00:24:26 +0000 (02:24 +0200)
committerMichal Marek <mmarek@suse.cz>
Tue, 19 Feb 2013 12:48:36 +0000 (13:48 +0100)
commit62dc989921df2a98d1a73aacd085abe941cb9828
tree72702c0a12050ee4325f5cc8fe2a2ab8de60c362
parent2c68115cb3d2863004f1dd5c01e3adbd54facd4c
kbuild: Fix missing '\n' for NEW symbols in yes "" | make oldconfig >conf.new

According to Documentation/kbuild/kconfig.txt, the commands:

    yes "" | make oldconfig >conf.new
    grep "(NEW)" conf.new

should list the new config symbols with their default values.
However, currently there is no line break after each new symbol.  When
kconfig is interactive the user will type a new-line at this point,
but when non-interactive kconfig must print it.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Reference: http://bugs.debian.org/636029
[regid23@nt1.in: Adjusted Ben's work to apply cleanly to this tree]
Reported-and-tested-by: Regid Ichira <regid23@nt1.in>
Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/kconfig/conf.c