Makefile (1634f2bfdb846ed0a8b73131a9dff7c420fb3fe1) Makefile (54b8ae66ae1a3454a7645d159a482c31cd89ab33)
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

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

161HOSTLDLIBS_nconf = $(shell . $(obj)/nconf-cfg && echo $$libs)
162HOSTCFLAGS_nconf.o = $(shell . $(obj)/nconf-cfg && echo $$cflags)
163HOSTCFLAGS_nconf.gui.o = $(shell . $(obj)/nconf-cfg && echo $$cflags)
164
165$(obj)/nconf.o $(obj)/nconf.gui.o: $(obj)/nconf-cfg
166
167# mconf: Used for the menuconfig target based on lxdialog
168hostprogs-y += mconf
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

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

161HOSTLDLIBS_nconf = $(shell . $(obj)/nconf-cfg && echo $$libs)
162HOSTCFLAGS_nconf.o = $(shell . $(obj)/nconf-cfg && echo $$cflags)
163HOSTCFLAGS_nconf.gui.o = $(shell . $(obj)/nconf-cfg && echo $$cflags)
164
165$(obj)/nconf.o $(obj)/nconf.gui.o: $(obj)/nconf-cfg
166
167# mconf: Used for the menuconfig target based on lxdialog
168hostprogs-y += mconf
169lxdialog := checklist.o inputbox.o menubox.o textbox.o util.o yesno.o
170mconf-objs := mconf.o $(addprefix lxdialog/, $(lxdialog)) $(common-objs)
169lxdialog := $(addprefix lxdialog/, \
170 checklist.o inputbox.o menubox.o textbox.o util.o yesno.o)
171mconf-objs := mconf.o $(lxdialog) $(common-objs)
171
172HOSTLDLIBS_mconf = $(shell . $(obj)/mconf-cfg && echo $$libs)
173$(foreach f, mconf.o $(lxdialog), \
174 $(eval HOSTCFLAGS_$f = $$(shell . $(obj)/mconf-cfg && echo $$$$cflags)))
175
172
173HOSTLDLIBS_mconf = $(shell . $(obj)/mconf-cfg && echo $$libs)
174$(foreach f, mconf.o $(lxdialog), \
175 $(eval HOSTCFLAGS_$f = $$(shell . $(obj)/mconf-cfg && echo $$$$cflags)))
176
176$(obj)/mconf.o: $(obj)/mconf-cfg
177$(addprefix $(obj)/lxdialog/, $(lxdialog)): $(obj)/mconf-cfg
177$(addprefix $(obj)/, mconf.o $(lxdialog)): $(obj)/mconf-cfg
178
179# qconf: Used for the xconfig target based on Qt
180hostprogs-y += qconf
181qconf-cxxobjs := qconf.o
182qconf-objs := images.o $(common-objs)
183
184HOSTLDLIBS_qconf = $(shell . $(obj)/qconf-cfg && echo $$libs)
185HOSTCXXFLAGS_qconf.o = $(shell . $(obj)/qconf-cfg && echo $$cflags)

--- 25 unchanged lines hidden ---
178
179# qconf: Used for the xconfig target based on Qt
180hostprogs-y += qconf
181qconf-cxxobjs := qconf.o
182qconf-objs := images.o $(common-objs)
183
184HOSTLDLIBS_qconf = $(shell . $(obj)/qconf-cfg && echo $$libs)
185HOSTCXXFLAGS_qconf.o = $(shell . $(obj)/qconf-cfg && echo $$cflags)

--- 25 unchanged lines hidden ---