[Buildroot] [PATCH 2/3] Add support for BR2_EXTERNAL
rjbarnet at rockwellcollins.com
rjbarnet at rockwellcollins.com
Wed Sep 11 02:03:57 UTC 2013
Thomas Petazzoni <thomas.petazzoni at free-electrons.com> wrote on 09/08/2013
08:15:28 AM:
>
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
> ---
> Config.in | 6 ++++--
> Makefile | 29 +++++++++++++++++++++++++----
> docs/manual/manual.mk | 2 +-
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))
MAKEFLAGS += --no-print-directory
Again this is only a suggestion but otherwise I'll ack the patchset.
Thanks,
-Ryan
Ryan J Barnett / Software Engineer / Platform SW
MS 137-157, 855 35th St NE, Cedar Rapids, IA, 52498-3161, US
Phone: 319-263-3880 / VPN: 263-3880
rjbarnet at rockwellcollins.com
www.rockwellcollins.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20130910/0f73d9eb/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 2004 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20130910/0f73d9eb/attachment-0002.gif>
More information about the buildroot
mailing list