aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/kconfig
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2010-01-06 16:43:08 -0500
committerSteven Rostedt <rostedt@goodmis.org>2010-01-06 16:43:08 -0500
commit17263baf958b7ab1d8c60445f412a1080362c88c (patch)
tree4b85df6a0a89b624698f2e723581a02ab91cc02d /scripts/kconfig
parentc6f7afaeeda5b3c42ea8d7b27e197d223a04675e (diff)
kconfig: Create include/generated for localmodconfig
If someone downloads a brand new kernel and runs localmodconfig or localyesconfig, the ending result will report: *** Error during update of the kernel configuration. This is because localmodconfig and localyesconfig must create the include/generated directory to place the autoconf.h file. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'scripts/kconfig')
-rw-r--r--scripts/kconfig/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile
index 999e8a7d5bf7..006c96f5fcb5 100644
--- a/scripts/kconfig/Makefile
+++ b/scripts/kconfig/Makefile
@@ -31,6 +31,7 @@ silentoldconfig: $(obj)/conf
31 $< -s $(Kconfig) 31 $< -s $(Kconfig)
32 32
33localmodconfig: $(obj)/streamline_config.pl $(obj)/conf 33localmodconfig: $(obj)/streamline_config.pl $(obj)/conf
34 $(Q)mkdir -p include/generated
34 $(Q)perl $< $(srctree) $(Kconfig) > .tmp.config 35 $(Q)perl $< $(srctree) $(Kconfig) > .tmp.config
35 $(Q)if [ -f .config ]; then \ 36 $(Q)if [ -f .config ]; then \
36 cmp -s .tmp.config .config || \ 37 cmp -s .tmp.config .config || \
@@ -45,6 +46,7 @@ localmodconfig: $(obj)/streamline_config.pl $(obj)/conf
45 $(Q)rm -f .tmp.config 46 $(Q)rm -f .tmp.config
46 47
47localyesconfig: $(obj)/streamline_config.pl $(obj)/conf 48localyesconfig: $(obj)/streamline_config.pl $(obj)/conf
49 $(Q)mkdir -p include/generated
48 $(Q)perl $< $(srctree) $(Kconfig) > .tmp.config 50 $(Q)perl $< $(srctree) $(Kconfig) > .tmp.config
49 $(Q)sed -i s/=m/=y/ .tmp.config 51 $(Q)sed -i s/=m/=y/ .tmp.config
50 $(Q)if [ -f .config ]; then \ 52 $(Q)if [ -f .config ]; then \