[Buildroot] [PATCH 2/3] Add support for BR2_EXTERNAL
Ryan Barnett
rjbarnet at rockwellcollins.com
Wed Sep 11 17:12:54 UTC 2013
"Yann E. MORIN" <yann.morin.1998 at gmail.com> wrote on 09/11/2013 12:03:40
PM:
> > One idea that I have, is for the make file that is genreated for the
an
> > external output directory, if we could preserve the the value of
> > BR2_EXTERNAL
> > as follows. I don't think my logic is fully there but there is more of
a
> > sudo implementation:
> >
> > diff --git a/support/scripts/mkmakefile b/support/scripts/mkmakefile
> > --- a/support/scripts/mkmakefile
> > +++ b/support/scripts/mkmakefile
> > @@ -27,6 +27,7 @@ makedir := \$(dir \$(call
lastword,\$(MAKEFILE_LIST)))
> >
> > MAKEARGS := -C $1
> > MAKEARGS += O=\$(if \$(patsubst
/%,,\$(makedir)),\$(CURDIR)/)\$(patsubst
> > %/,%,\$(makedir))
> > +MAKEARGS += BR2_EXTERNAL=\$(realpath \$(BR2_EXTERNAL))
>
> Why realpath? I think we should pass the exact value of BR2_EXTERNAL.
I would agree, like I said when I suggested this I didn't think it all the
way through other than this feature would be very useful.
> Otherwise, I agree that this could be usefull.
>
> Regards,
> Yann E. MORIN.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20130911/5ef6fd3e/attachment-0002.html>
More information about the buildroot
mailing list