confused about use of $(noconfig_targets)

Robert P. J. Day rpjday at mindspring.com
Thu Mar 2 16:25:35 UTC 2006


On Thu, 2 Mar 2006, Bernhard Fischer wrote:

> On Thu, Mar 02, 2006 at 10:55:42AM -0500, Robert P. J. Day wrote:
> >On Thu, 2 Mar 2006, Bernhard Fischer wrote:
> >
> >> On Thu, Mar 02, 2006 at 09:28:49AM -0500, Robert P. J. Day wrote:
> >> >
> >> >  (ahead of time, i'll apologize for what will probably be some
> >> >easy/pedantic questions since i've decided, once and for all, to go
> >> >thru the BB code and figure out exactly how it works.)
> >> >
> >> >  in the top-level Rules.mak, there a conditional inclusion of the
> >> >.config file:
> >> >
> >> >  ifeq ($(filter $(noconfig_targets),$(MAKECMDGOALS)),)
> >> >  -include $(top_builddir)/.config
> >> >  endif
> >>
> >> This was already there before i touched any of busybox. Better ask
> >> an elder :)
> >
> >note:  i'm fine with the *philosophy* of the above, it's a fairly
> >straightforward technique.  i'm just not convinced of its
> >*implementation*.  specifically, what if you invoke the makefile
> >with mixed targets (some in that list, some not).  or is that just
> >not meant to happen?
>
> It wasn't ment to happen. Feel free to provide a patch.

no, i just wanted to clarify that that Makefile was meant to be called
with only a single target at a time.  under that definition, it makes
sense.

rday



More information about the busybox mailing list