]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
localmodconfig: Fix localyesconfig to set to 'y' not 'm'
authorYuta Ando <yuta.and@gmail.com>
Mon, 1 Oct 2012 14:24:30 +0000 (23:24 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 12 Oct 2012 20:50:21 +0000 (05:50 +0900)
commit 4eae518d4b01b0cbf2f0d8edb5a6f3d6245ee8fb upstream.

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/1349101470-12243-1-git-send-email-yuta.and@gmail.com
Signed-off-by: Yuta Ando <yuta.and@gmail.com>
Cc: linux-kbuild@vger.kernel.org
Signed-off-by: Steven Rostedt <rostedt@rostedt.homelinux.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
scripts/kconfig/streamline_config.pl

index 2fbbbc1ddea02ad573315ef264fc5c79064a1f5e..5eb37772daefc3feaa6fa5b426d6a5f32e4c37ad 100644 (file)
@@ -605,6 +605,8 @@ foreach my $line (@config_file) {
        if (defined($configs{$1})) {
            if ($localyesconfig) {
                $setconfigs{$1} = 'y';
+               print "$1=y\n";
+               next;
            } else {
                $setconfigs{$1} = $2;
            }