diff options
author | Aristeu Rozanski <aris@redhat.com> | 2010-05-06 12:48:34 -0400 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2010-06-02 08:40:09 -0400 |
commit | f0778c8c41001783d4074e34efc7d3e632d87ee3 (patch) | |
tree | 8ab973e63d7ff30e1271b8954c8b6ec3cc7ea5ba /scripts/kconfig/Makefile | |
parent | 64ffc9ff424c65adcffe7d590018cc75e2d5d42a (diff) |
kconfig: introduce nonint_oldconfig and loose_nonint_oldconfig
This patch has been around for a long time in Fedora and Red Hat Enterprise
Linux kernels and it may be useful for others. The nonint_oldconfig target
will fail and print the unset config options while loose_nonint_oldconfig will
simply let the config option unset. They're useful in distro kernel packages
where the config files are built using a combination of smaller config files.
Arjan van de Ven wrote the initial nonint_config and Roland McGrath added the
loose_nonint_oldconfig.
Signed-off-by: Arjan van de Ven <arjan@redhat.com> [defunct email]
Whatevered-by: Kyle McMartin <kyle@redhat.com>
Acked-by: Arjan van de Ven <arjan@linux.intel.com>
Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Aristeu Rozanski <aris@redhat.com>
[mmarek: whitespace fixes]
Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'scripts/kconfig/Makefile')
-rw-r--r-- | scripts/kconfig/Makefile | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile index 75bdf5ae202c..f8d1ee3a372e 100644 --- a/scripts/kconfig/Makefile +++ b/scripts/kconfig/Makefile | |||
@@ -62,6 +62,12 @@ localyesconfig: $(obj)/streamline_config.pl $(obj)/conf | |||
62 | fi | 62 | fi |
63 | $(Q)rm -f .tmp.config | 63 | $(Q)rm -f .tmp.config |
64 | 64 | ||
65 | nonint_oldconfig: $(obj)/conf | ||
66 | $< -b $(Kconfig) | ||
67 | |||
68 | loose_nonint_oldconfig: $(obj)/conf | ||
69 | $< -B $(Kconfig) | ||
70 | |||
65 | # Create new linux.pot file | 71 | # Create new linux.pot file |
66 | # Adjust charset to UTF-8 in .po file to accept UTF-8 in Kconfig files | 72 | # Adjust charset to UTF-8 in .po file to accept UTF-8 in Kconfig files |
67 | # The symlink is used to repair a deficiency in arch/um | 73 | # The symlink is used to repair a deficiency in arch/um |
@@ -126,6 +132,10 @@ help: | |||
126 | @echo ' allmodconfig - New config selecting modules when possible' | 132 | @echo ' allmodconfig - New config selecting modules when possible' |
127 | @echo ' allyesconfig - New config where all options are accepted with yes' | 133 | @echo ' allyesconfig - New config where all options are accepted with yes' |
128 | @echo ' allnoconfig - New config where all options are answered with no' | 134 | @echo ' allnoconfig - New config where all options are answered with no' |
135 | @echo ' nonint_oldconfig - Checks the current configuration and fails if an option is ' | ||
136 | @echo ' not set' | ||
137 | @echo ' loose_nonint_oldconfig - Same as nonint_oldconfig, but updates the config file with ' | ||
138 | @echo ' missing config options as unset' | ||
129 | 139 | ||
130 | # lxdialog stuff | 140 | # lxdialog stuff |
131 | check-lxdialog := $(srctree)/$(src)/lxdialog/check-lxdialog.sh | 141 | check-lxdialog := $(srctree)/$(src)/lxdialog/check-lxdialog.sh |