diff options
author | Steven Rostedt <srostedt@redhat.com> | 2012-07-19 15:29:43 -0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2012-07-19 15:29:43 -0400 |
commit | cf79fab676b3aa3b5fbae95aab25e2d4e26e4224 (patch) | |
tree | f1b53af0a55a40621d84686f447c5c2a6b6df9b1 /kernel/kmod.c | |
parent | b0918612545e698e55889c15d25e5118ea09c1fd (diff) | |
download | blackbird-obmc-linux-cf79fab676b3aa3b5fbae95aab25e2d4e26e4224.tar.gz blackbird-obmc-linux-cf79fab676b3aa3b5fbae95aab25e2d4e26e4224.zip |
ktest: Fix config bisect with how make oldnoconfig works
With a name like 'oldnoconfig' one may think that the config generated
would disable all configs that were not defined (selecting "no" for all
options). But this is not the case. It selects the default. If a config
has a 'default y', then it is added if not specified.
This broke the config bisect, because options not specified by a config
will just use the default, where it expected to turn off. This caused an
option to be enabled that disabled an option that would break the build.
The end result was that we never found the bad config at the end of the
test.
Instead of using 'make oldnoconfig', ktest now builds the options it
expects enabled and disabled. When it turns off an option, it will no
longer remove it, but actually set it to:
# CONFIG_FOO is not set.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/kmod.c')
0 files changed, 0 insertions, 0 deletions