diff options
Diffstat (limited to 'scripts/kconfig/Makefile')
-rw-r--r-- | scripts/kconfig/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile index 72973591c0f1..c0e459e2b014 100644 --- a/scripts/kconfig/Makefile +++ b/scripts/kconfig/Makefile | |||
@@ -90,11 +90,14 @@ PHONY += allnoconfig allyesconfig allmodconfig alldefconfig randconfig | |||
90 | allnoconfig allyesconfig allmodconfig alldefconfig randconfig: $(obj)/conf | 90 | allnoconfig allyesconfig allmodconfig alldefconfig randconfig: $(obj)/conf |
91 | $< --$@ $(Kconfig) | 91 | $< --$@ $(Kconfig) |
92 | 92 | ||
93 | PHONY += listnewconfig oldnoconfig defconfig | 93 | PHONY += listnewconfig oldnoconfig savedefconfig defconfig |
94 | 94 | ||
95 | listnewconfig oldnoconfig: $(obj)/conf | 95 | listnewconfig oldnoconfig: $(obj)/conf |
96 | $< --$@ $(Kconfig) | 96 | $< --$@ $(Kconfig) |
97 | 97 | ||
98 | savedefconfig: $(obj)/conf | ||
99 | $< --$@=defconfig $(Kconfig) | ||
100 | |||
98 | defconfig: $(obj)/conf | 101 | defconfig: $(obj)/conf |
99 | ifeq ($(KBUILD_DEFCONFIG),) | 102 | ifeq ($(KBUILD_DEFCONFIG),) |
100 | $< --defconfig $(Kconfig) | 103 | $< --defconfig $(Kconfig) |
@@ -118,6 +121,7 @@ help: | |||
118 | @echo ' localyesconfig - Update current config converting local mods to core' | 121 | @echo ' localyesconfig - Update current config converting local mods to core' |
119 | @echo ' silentoldconfig - Same as oldconfig, but quietly, additionally update deps' | 122 | @echo ' silentoldconfig - Same as oldconfig, but quietly, additionally update deps' |
120 | @echo ' defconfig - New config with default from ARCH supplied defconfig' | 123 | @echo ' defconfig - New config with default from ARCH supplied defconfig' |
124 | @echo ' savedefconfig - Save current config as ./defconfig (minimal config)' | ||
121 | @echo ' allnoconfig - New config where all options are answered with no' | 125 | @echo ' allnoconfig - New config where all options are answered with no' |
122 | @echo ' allyesconfig - New config where all options are accepted with yes' | 126 | @echo ' allyesconfig - New config where all options are accepted with yes' |
123 | @echo ' allmodconfig - New config selecting modules when possible' | 127 | @echo ' allmodconfig - New config selecting modules when possible' |