aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuta Ando <[email protected]>2012-10-01 23:24:30 +0900
committerSteven Rostedt <[email protected]>2012-10-01 12:35:17 -0400
commit4eae518d4b01b0cbf2f0d8edb5a6f3d6245ee8fb (patch)
treea3b1dd98826914eaec44d3442f07ce4b7985940d
parent45f4c81d690a57838822d4d01ad4c03651b76b95 (diff)
localmodconfig: Fix localyesconfig to set to 'y' not 'm'
The kbuild target 'localyesconfig' has been same as 'localmodconfig' since the commit 50bce3e "kconfig/streamline_config.pl: merge local{mod,yes}config". The commit expects this script generates different configure depending on target, but it was not yet implemented. So I added code that sets to 'yes' when target is 'localyesconfig'. Link: http://lkml.kernel.org/r/[email protected] Cc: [email protected] # v3.2 Cc: [email protected] Signed-off-by: Yuta Ando <[email protected]> Signed-off-by: Steven Rostedt <[email protected]>
-rw-r--r--scripts/kconfig/streamline_config.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/kconfig/streamline_config.pl b/scripts/kconfig/streamline_config.pl
index 39b6314fe634..33689396953a 100644
--- a/scripts/kconfig/streamline_config.pl
+++ b/scripts/kconfig/streamline_config.pl
@@ -601,6 +601,8 @@ foreach my $line (@config_file) {
if (defined($configs{$1})) {
if ($localyesconfig) {
$setconfigs{$1} = 'y';
+ print "$1=y\n";
+ next;
} else {
$setconfigs{$1} = $2;
}