Makefile (1f422417945d08731e2915e0addb976f11b3a85a) Makefile (bcfefb61cd2bc86329915a4074f7b4c48b00b33a)
1# SPDX-License-Identifier: GPL-2.0
2# ===========================================================================
3# Kernel configuration targets
4# These targets are used from top-level makefile
5
6PHONY += xconfig gconfig menuconfig config localmodconfig localyesconfig \
7 build_menuconfig build_nconfig build_gconfig build_xconfig
8

--- 82 unchanged lines hidden (view full) ---

91
92%.config: $(obj)/conf
93 $(if $(call configfiles),, $(error No configuration exists for this target on this architecture))
94 $(Q)$(CONFIG_SHELL) $(srctree)/scripts/kconfig/merge_config.sh -m .config $(configfiles)
95 $(Q)$(MAKE) -f $(srctree)/Makefile olddefconfig
96
97PHONY += kvmconfig
98kvmconfig: kvm_guest.config
1# SPDX-License-Identifier: GPL-2.0
2# ===========================================================================
3# Kernel configuration targets
4# These targets are used from top-level makefile
5
6PHONY += xconfig gconfig menuconfig config localmodconfig localyesconfig \
7 build_menuconfig build_nconfig build_gconfig build_xconfig
8

--- 82 unchanged lines hidden (view full) ---

91
92%.config: $(obj)/conf
93 $(if $(call configfiles),, $(error No configuration exists for this target on this architecture))
94 $(Q)$(CONFIG_SHELL) $(srctree)/scripts/kconfig/merge_config.sh -m .config $(configfiles)
95 $(Q)$(MAKE) -f $(srctree)/Makefile olddefconfig
96
97PHONY += kvmconfig
98kvmconfig: kvm_guest.config
99 @:
99 @echo >&2 "WARNING: 'make $@' will be removed after Linux 5.10"
100 @echo >&2 " Please use 'make $<' instead."
100
101PHONY += xenconfig
102xenconfig: xen.config
101
102PHONY += xenconfig
103xenconfig: xen.config
103 @:
104 @echo >&2 "WARNING: 'make $@' will be removed after Linux 5.10"
105 @echo >&2 " Please use 'make $<' instead."
104
105PHONY += tinyconfig
106tinyconfig:
107 $(Q)$(MAKE) -f $(srctree)/Makefile allnoconfig tiny.config
108
109# CHECK: -o cache_dir=<path> working?
110PHONY += testconfig
111testconfig: $(obj)/conf

--- 6 unchanged lines hidden (view full) ---

118help:
119 @echo ' config - Update current config utilising a line-oriented program'
120 @echo ' nconfig - Update current config utilising a ncurses menu based program'
121 @echo ' menuconfig - Update current config utilising a menu based program'
122 @echo ' xconfig - Update current config utilising a Qt based front-end'
123 @echo ' gconfig - Update current config utilising a GTK+ based front-end'
124 @echo ' oldconfig - Update current config utilising a provided .config as base'
125 @echo ' localmodconfig - Update current config disabling modules not loaded'
106
107PHONY += tinyconfig
108tinyconfig:
109 $(Q)$(MAKE) -f $(srctree)/Makefile allnoconfig tiny.config
110
111# CHECK: -o cache_dir=<path> working?
112PHONY += testconfig
113testconfig: $(obj)/conf

--- 6 unchanged lines hidden (view full) ---

120help:
121 @echo ' config - Update current config utilising a line-oriented program'
122 @echo ' nconfig - Update current config utilising a ncurses menu based program'
123 @echo ' menuconfig - Update current config utilising a menu based program'
124 @echo ' xconfig - Update current config utilising a Qt based front-end'
125 @echo ' gconfig - Update current config utilising a GTK+ based front-end'
126 @echo ' oldconfig - Update current config utilising a provided .config as base'
127 @echo ' localmodconfig - Update current config disabling modules not loaded'
128 @echo ' except those preserved by LMC_KEEP environment variable'
126 @echo ' localyesconfig - Update current config converting local mods to core'
129 @echo ' localyesconfig - Update current config converting local mods to core'
130 @echo ' except those preserved by LMC_KEEP environment variable'
127 @echo ' defconfig - New config with default from ARCH supplied defconfig'
128 @echo ' savedefconfig - Save current config as ./defconfig (minimal config)'
129 @echo ' allnoconfig - New config where all options are answered with no'
130 @echo ' allyesconfig - New config where all options are accepted with yes'
131 @echo ' allmodconfig - New config selecting modules when possible'
132 @echo ' alldefconfig - New config with all symbols set to default'
133 @echo ' randconfig - New config with random answer to all options'
134 @echo ' yes2modconfig - Change answers from yes to mod if possible'
135 @echo ' mod2yesconfig - Change answers from mod to yes if possible'
136 @echo ' listnewconfig - List new options'
137 @echo ' helpnewconfig - List new options and help text'
138 @echo ' olddefconfig - Same as oldconfig but sets new symbols to their'
139 @echo ' default value without prompting'
131 @echo ' defconfig - New config with default from ARCH supplied defconfig'
132 @echo ' savedefconfig - Save current config as ./defconfig (minimal config)'
133 @echo ' allnoconfig - New config where all options are answered with no'
134 @echo ' allyesconfig - New config where all options are accepted with yes'
135 @echo ' allmodconfig - New config selecting modules when possible'
136 @echo ' alldefconfig - New config with all symbols set to default'
137 @echo ' randconfig - New config with random answer to all options'
138 @echo ' yes2modconfig - Change answers from yes to mod if possible'
139 @echo ' mod2yesconfig - Change answers from mod to yes if possible'
140 @echo ' listnewconfig - List new options'
141 @echo ' helpnewconfig - List new options and help text'
142 @echo ' olddefconfig - Same as oldconfig but sets new symbols to their'
143 @echo ' default value without prompting'
140 @echo ' kvmconfig - Enable additional options for kvm guest kernel support'
141 @echo ' xenconfig - Enable additional options for xen dom0 and guest kernel'
142 @echo ' support'
143 @echo ' tinyconfig - Configure the tiniest possible kernel'
144 @echo ' testconfig - Run Kconfig unit tests (requires python3 and pytest)'
145
146# ===========================================================================
147# object files used by all kconfig flavours
148common-objs := confdata.o expr.o lexer.lex.o parser.tab.o preprocess.o \
149 symbol.o util.o
150

--- 62 unchanged lines hidden ---
144 @echo ' tinyconfig - Configure the tiniest possible kernel'
145 @echo ' testconfig - Run Kconfig unit tests (requires python3 and pytest)'
146
147# ===========================================================================
148# object files used by all kconfig flavours
149common-objs := confdata.o expr.o lexer.lex.o parser.tab.o preprocess.o \
150 symbol.o util.o
151

--- 62 unchanged lines hidden ---