Makefile (d538d94f0ca86cfedc892cc427169219acb3c2f7) Makefile (ba97df45581f09a987ffa38444c33ed6a0a9479e)
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

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

196gconf-objs := gconf.o images.o $(common-objs)
197
198HOSTLDLIBS_gconf = $(shell . $(obj)/.gconf-cfg && echo $$libs)
199HOSTCFLAGS_gconf.o = $(shell . $(obj)/.gconf-cfg && echo $$cflags)
200
201$(obj)/gconf.o: $(obj)/.gconf-cfg
202
203# check if necessary packages are available, and configure build flags
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

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

196gconf-objs := gconf.o images.o $(common-objs)
197
198HOSTLDLIBS_gconf = $(shell . $(obj)/.gconf-cfg && echo $$libs)
199HOSTCFLAGS_gconf.o = $(shell . $(obj)/.gconf-cfg && echo $$cflags)
200
201$(obj)/gconf.o: $(obj)/.gconf-cfg
202
203# check if necessary packages are available, and configure build flags
204define filechk_conf_cfg
205 $(CONFIG_SHELL) $<
206endef
204filechk_conf_cfg = $(CONFIG_SHELL) $<
207
208$(obj)/.%conf-cfg: $(src)/%conf-cfg.sh FORCE
209 $(call filechk,conf_cfg)
210
211clean-files += .*conf-cfg
205
206$(obj)/.%conf-cfg: $(src)/%conf-cfg.sh FORCE
207 $(call filechk,conf_cfg)
208
209clean-files += .*conf-cfg