Makefile (e65372124cd749ebbe4ac2abe5a511d7d1ac68db) Makefile (981e545a698aee98ed9c11202fe9bc93242f3cec)
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 symbol.o preprocess.o zconf.lex.o zconf.tab.o
146common-objs := confdata.o expr.o lexer.lex.o preprocess.o symbol.o zconf.tab.o
147
147
148$(obj)/zconf.lex.o: $(obj)/zconf.tab.h
149HOSTCFLAGS_zconf.lex.o := -I$(src)
148$(obj)/lexer.lex.o: $(obj)/zconf.tab.h
149HOSTCFLAGS_lexer.lex.o := -I$(src)
150HOSTCFLAGS_zconf.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

--- 52 unchanged lines hidden ---
150HOSTCFLAGS_zconf.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

--- 52 unchanged lines hidden ---