Makefile (c3cd7cfad51ab521bf4c3edd050f3dcf275e9ee8) | Makefile (0e912c03208075b95ea726076bf1b45db8419bc2) |
---|---|
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 --- 167 unchanged lines hidden (view full) --- 176HOSTLDLIBS_mconf = $(shell . $(obj)/mconf-cfg && echo $$libs) 177$(foreach f, mconf.o $(lxdialog), \ 178 $(eval HOSTCFLAGS_$f = $$(shell . $(obj)/mconf-cfg && echo $$$$cflags))) 179 180$(addprefix $(obj)/, mconf.o $(lxdialog)): $(obj)/mconf-cfg 181 182# qconf: Used for the xconfig target based on Qt 183hostprogs += qconf | 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 --- 167 unchanged lines hidden (view full) --- 176HOSTLDLIBS_mconf = $(shell . $(obj)/mconf-cfg && echo $$libs) 177$(foreach f, mconf.o $(lxdialog), \ 178 $(eval HOSTCFLAGS_$f = $$(shell . $(obj)/mconf-cfg && echo $$$$cflags))) 179 180$(addprefix $(obj)/, mconf.o $(lxdialog)): $(obj)/mconf-cfg 181 182# qconf: Used for the xconfig target based on Qt 183hostprogs += qconf |
184qconf-cxxobjs := qconf.o | 184qconf-cxxobjs := qconf.o qconf-moc.o |
185qconf-objs := images.o $(common-objs) 186 187HOSTLDLIBS_qconf = $(shell . $(obj)/qconf-cfg && echo $$libs) 188HOSTCXXFLAGS_qconf.o = $(shell . $(obj)/qconf-cfg && echo $$cflags) | 185qconf-objs := images.o $(common-objs) 186 187HOSTLDLIBS_qconf = $(shell . $(obj)/qconf-cfg && echo $$libs) 188HOSTCXXFLAGS_qconf.o = $(shell . $(obj)/qconf-cfg && echo $$cflags) |
189HOSTCXXFLAGS_qconf-moc.o = $(shell . $(obj)/qconf-cfg && echo $$cflags) |
|
189 | 190 |
190$(obj)/qconf.o: $(obj)/qconf-cfg $(obj)/qconf.moc | 191$(obj)/qconf.o: $(obj)/qconf-cfg |
191 192quiet_cmd_moc = MOC $@ | 192 193quiet_cmd_moc = MOC $@ |
193 cmd_moc = $(shell . $(obj)/qconf-cfg && echo $$moc) -i $< -o $@ | 194 cmd_moc = $(shell . $(obj)/qconf-cfg && echo $$moc) $< -o $@ |
194 | 195 |
195$(obj)/%.moc: $(src)/%.h $(obj)/qconf-cfg FORCE | 196$(obj)/qconf-moc.cc: $(src)/qconf.h $(obj)/qconf-cfg FORCE |
196 $(call if_changed,moc) 197 | 197 $(call if_changed,moc) 198 |
198targets += qconf.moc | 199targets += qconf-moc.cc |
199 200# gconf: Used for the gconfig target based on GTK+ 201hostprogs += gconf 202gconf-objs := gconf.o images.o $(common-objs) 203 204HOSTLDLIBS_gconf = $(shell . $(obj)/gconf-cfg && echo $$libs) 205HOSTCFLAGS_gconf.o = $(shell . $(obj)/gconf-cfg && echo $$cflags) 206 207$(obj)/gconf.o: $(obj)/gconf-cfg 208 209# check if necessary packages are available, and configure build flags 210filechk_conf_cfg = $(CONFIG_SHELL) $< 211 212$(obj)/%conf-cfg: $(src)/%conf-cfg.sh FORCE 213 $(call filechk,conf_cfg) 214 215clean-files += *conf-cfg | 200 201# gconf: Used for the gconfig target based on GTK+ 202hostprogs += gconf 203gconf-objs := gconf.o images.o $(common-objs) 204 205HOSTLDLIBS_gconf = $(shell . $(obj)/gconf-cfg && echo $$libs) 206HOSTCFLAGS_gconf.o = $(shell . $(obj)/gconf-cfg && echo $$cflags) 207 208$(obj)/gconf.o: $(obj)/gconf-cfg 209 210# check if necessary packages are available, and configure build flags 211filechk_conf_cfg = $(CONFIG_SHELL) $< 212 213$(obj)/%conf-cfg: $(src)/%conf-cfg.sh FORCE 214 $(call filechk,conf_cfg) 215 216clean-files += *conf-cfg |