diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -9,7 +9,7 @@ | |||
9 | # You shouldn't need to mess with anything beyond this point... | 9 | # You shouldn't need to mess with anything beyond this point... |
10 | #-------------------------------------------------------------- | 10 | #-------------------------------------------------------------- |
11 | noconfig_targets := menuconfig config oldconfig randconfig \ | 11 | noconfig_targets := menuconfig config oldconfig randconfig \ |
12 | defconfig allyesconfig allnoconfig bareconfig \ | 12 | defconfig allyesconfig allnoconfig allbareconfig \ |
13 | clean distclean \ | 13 | clean distclean \ |
14 | release tags | 14 | release tags |
15 | 15 | ||
@@ -119,7 +119,7 @@ help: | |||
119 | @echo 'Configuration:' | 119 | @echo 'Configuration:' |
120 | @echo ' allnoconfig - disable all symbols in .config' | 120 | @echo ' allnoconfig - disable all symbols in .config' |
121 | @echo ' allyesconfig - enable (almost) all symbols in .config' | 121 | @echo ' allyesconfig - enable (almost) all symbols in .config' |
122 | @echo ' bareconfig - enable all basics without any features' | 122 | @echo ' allbareconfig - enable all basics without any features' |
123 | @echo ' config - text based configurator (of last resort)' | 123 | @echo ' config - text based configurator (of last resort)' |
124 | @echo ' defconfig - set .config to defaults' | 124 | @echo ' defconfig - set .config to defaults' |
125 | @echo ' menuconfig - interactive curses-based configurator' | 125 | @echo ' menuconfig - interactive curses-based configurator' |
@@ -191,9 +191,12 @@ allnoconfig: scripts/config/conf | |||
191 | defconfig: scripts/config/conf | 191 | defconfig: scripts/config/conf |
192 | @./scripts/config/conf -d $(CONFIG_CONFIG_IN) | 192 | @./scripts/config/conf -d $(CONFIG_CONFIG_IN) |
193 | 193 | ||
194 | bareconfig: allyesconfig | 194 | allbareconfig: scripts/config/conf |
195 | sed -i '/FEATURE/d' .config | 195 | @./scripts/config/conf -y $(CONFIG_CONFIG_IN) |
196 | @./scripts/config/conf -d $(CONFIG_CONFIG_IN) | 196 | sed -i -r -e "s/^(CONFIG_DEBUG|USING_CROSS_COMPILER|CONFIG_STATIC|CONFIG_SELINUX).*/# \1 is not set/" .config |
197 | sed -i -e "/FEATURE/s/=.*//;/^[^#]/s/.*FEATURE.*/# \0 is not set/;" .config | ||
198 | @echo "CONFIG_FEATURE_BUFFERS_GO_ON_STACK=y" >> .config | ||
199 | @./scripts/config/conf -o $(CONFIG_CONFIG_IN) | ||
197 | 200 | ||
198 | else # ifneq ($(strip $(HAVE_DOT_CONFIG)),y) | 201 | else # ifneq ($(strip $(HAVE_DOT_CONFIG)),y) |
199 | 202 | ||