Makefile (981e545a698aee98ed9c11202fe9bc93242f3cec) Makefile (769a1c02267854c48852532e5d7b595afcfe8dd7)
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

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

138 @echo ' default value without prompting'
139 @echo ' kvmconfig - Enable additional options for kvm guest kernel support'
140 @echo ' xenconfig - Enable additional options for xen dom0 and guest kernel support'
141 @echo ' tinyconfig - Configure the tiniest possible kernel'
142 @echo ' testconfig - Run Kconfig unit tests (requires python3 and pytest)'
143
144# ===========================================================================
145# object files used by all kconfig flavours
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

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

138 @echo ' default value without prompting'
139 @echo ' kvmconfig - Enable additional options for kvm guest kernel support'
140 @echo ' xenconfig - Enable additional options for xen dom0 and guest kernel support'
141 @echo ' tinyconfig - Configure the tiniest possible kernel'
142 @echo ' testconfig - Run Kconfig unit tests (requires python3 and pytest)'
143
144# ===========================================================================
145# object files used by all kconfig flavours
146common-objs := confdata.o expr.o lexer.lex.o preprocess.o symbol.o zconf.tab.o
146common-objs := confdata.o expr.o lexer.lex.o parser.tab.o preprocess.o \
147 symbol.o
147
148
148$(obj)/lexer.lex.o: $(obj)/zconf.tab.h
149$(obj)/lexer.lex.o: $(obj)/parser.tab.h
149HOSTCFLAGS_lexer.lex.o := -I$(src)
150HOSTCFLAGS_lexer.lex.o := -I$(src)
150HOSTCFLAGS_zconf.tab.o := -I$(src)
151HOSTCFLAGS_parser.tab.o := -I$(src)
151
152# conf: Used for defconfig, oldconfig and related targets
153hostprogs-y += conf
154conf-objs := conf.o $(common-objs)
155
156# nconf: Used for the nconfig target based on ncurses
157hostprogs-y += nconf
158nconf-objs := nconf.o nconf.gui.o $(common-objs)

--- 51 unchanged lines hidden ---
152
153# conf: Used for defconfig, oldconfig and related targets
154hostprogs-y += conf
155conf-objs := conf.o $(common-objs)
156
157# nconf: Used for the nconfig target based on ncurses
158hostprogs-y += nconf
159nconf-objs := nconf.o nconf.gui.o $(common-objs)

--- 51 unchanged lines hidden ---