mirror of
https://github.com/sheumann/hush.git
synced 2024-09-12 00:55:11 +00:00
- rename bareconfig to allbareconfig and emit "is not set" strings needed for
oldconfig.
This commit is contained in:
parent
25413bfe00
commit
be5c10314d
13
Makefile
13
Makefile
@ -9,7 +9,7 @@
|
|||||||
# You shouldn't need to mess with anything beyond this point...
|
# You shouldn't need to mess with anything beyond this point...
|
||||||
#--------------------------------------------------------------
|
#--------------------------------------------------------------
|
||||||
noconfig_targets := menuconfig config oldconfig randconfig \
|
noconfig_targets := menuconfig config oldconfig randconfig \
|
||||||
defconfig allyesconfig allnoconfig bareconfig \
|
defconfig allyesconfig allnoconfig allbareconfig \
|
||||||
clean distclean \
|
clean distclean \
|
||||||
release tags
|
release tags
|
||||||
|
|
||||||
@ -119,7 +119,7 @@ help:
|
|||||||
@echo 'Configuration:'
|
@echo 'Configuration:'
|
||||||
@echo ' allnoconfig - disable all symbols in .config'
|
@echo ' allnoconfig - disable all symbols in .config'
|
||||||
@echo ' allyesconfig - enable (almost) all symbols in .config'
|
@echo ' allyesconfig - enable (almost) all symbols in .config'
|
||||||
@echo ' bareconfig - enable all basics without any features'
|
@echo ' allbareconfig - enable all basics without any features'
|
||||||
@echo ' config - text based configurator (of last resort)'
|
@echo ' config - text based configurator (of last resort)'
|
||||||
@echo ' defconfig - set .config to defaults'
|
@echo ' defconfig - set .config to defaults'
|
||||||
@echo ' menuconfig - interactive curses-based configurator'
|
@echo ' menuconfig - interactive curses-based configurator'
|
||||||
@ -191,9 +191,12 @@ allnoconfig: scripts/config/conf
|
|||||||
defconfig: scripts/config/conf
|
defconfig: scripts/config/conf
|
||||||
@./scripts/config/conf -d $(CONFIG_CONFIG_IN)
|
@./scripts/config/conf -d $(CONFIG_CONFIG_IN)
|
||||||
|
|
||||||
bareconfig: allyesconfig
|
allbareconfig: scripts/config/conf
|
||||||
sed -i '/FEATURE/d' .config
|
@./scripts/config/conf -y $(CONFIG_CONFIG_IN)
|
||||||
@./scripts/config/conf -d $(CONFIG_CONFIG_IN)
|
sed -i -r -e "s/^(CONFIG_DEBUG|USING_CROSS_COMPILER|CONFIG_STATIC|CONFIG_SELINUX).*/# \1 is not set/" .config
|
||||||
|
sed -i -e "/FEATURE/s/=.*//;/^[^#]/s/.*FEATURE.*/# \0 is not set/;" .config
|
||||||
|
@echo "CONFIG_FEATURE_BUFFERS_GO_ON_STACK=y" >> .config
|
||||||
|
@./scripts/config/conf -o $(CONFIG_CONFIG_IN)
|
||||||
|
|
||||||
else # ifneq ($(strip $(HAVE_DOT_CONFIG)),y)
|
else # ifneq ($(strip $(HAVE_DOT_CONFIG)),y)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user