提交 4eae518d 编写于 作者: Y Yuta Ando 提交者: Steven Rostedt

localmodconfig: Fix localyesconfig to set to 'y' not 'm'

The kbuild target 'localyesconfig' has been same as 'localmodconfig'
since the commit 50bce3e8 "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

Cc: stable@vger.kernel.org # v3.2
Cc: linux-kbuild@vger.kernel.org
Signed-off-by: NYuta Ando <yuta.and@gmail.com>
Signed-off-by: NSteven Rostedt <rostedt@rostedt.homelinux.com>
上级 45f4c81d
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册