confused about use of $(noconfig_targets)
Robert P. J. Day
rpjday at mindspring.com
Thu Mar 2 08:32:33 PST 2006
On Thu, 2 Mar 2006, Bernhard Fischer wrote:
> On Thu, Mar 02, 2006 at 10:55:42AM -0500, Robert P. J. Day wrote:
> >> > in the top-level Rules.mak, there a conditional inclusion of the
> >> >.config file:
> >> >
> >> > ifeq ($(filter $(noconfig_targets),$(MAKECMDGOALS)),)
> >> > -include $(top_builddir)/.config
> >> > endif
> >>
> If you want to support mixed targets while not breaking make-3.80,
> please submit a patch.
i would think that all you want to be asking is if there are *any*
targets in $(MAKECMDGOALS) that are *not* in $(noconfig_targets).
wouldn't it be sufficient to just ask:
ifneq ($(filter-out $(noconfig_targets),$(MAKECMDGOALS)),)
-include $(top_builddir)/.config
endif
i haven't thought about it much beyond that.
rday
More information about the busybox
mailing list