]> git.baikalelectronics.ru Git - kernel.git/commit
merge_config.sh: Avoid creating unnessary source softlinks
authorJohn Stultz <john.stultz@linaro.org>
Thu, 4 Apr 2013 19:02:59 +0000 (12:02 -0700)
committerMichal Marek <mmarek@suse.cz>
Wed, 10 Apr 2013 08:55:22 +0000 (10:55 +0200)
commit3a05cb6cc557cf902d627c3a0b16aa137614fadb
tree4dfe481918e77ed348a22a4ad3055237a109b4a6
parent58fb6b5d27ac6397617c7f716aef978fc9a33b35
merge_config.sh: Avoid creating unnessary source softlinks

Viresh noticed when using merge_config.sh that a source softlink
was being created even when he didn't specify the -O option.

The problem arises due to the previous commit 4fe0ac7359ae
which added the -O option. Basically if -O is not specified,
we still pass '-O=.' to the make command, which then generates
a source softlink to ./

This patch adds an extra check so if there is no -O specified
to merge_config.sh, we don't pass one on to make.

Cc: Zhangfei Gao <zhangfei.gao@linaro.org>
Cc: Bruce Ashfield <bruce.ashfield@windriver.com>
Acked-by: Darren Hart <dvhart@linux.intel.com>
Reported-and-tested-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/kconfig/merge_config.sh