[Buildroot] [PATCH 04/14] Support multilib variants in sub-subdirectories

Thomas De Schampheleire patrickdepinguin+buildroot at gmail.com
Wed Jan 4 08:37:49 UTC 2012


On Wed, Jan 4, 2012 at 9:24 AM, Thomas Petazzoni <
thomas.petazzoni at free-electrons.com> wrote:

> Le Wed, 4 Jan 2012 08:55:51 +0100,
> Thomas De Schampheleire <patrickdepinguin+buildroot at gmail.com> a écrit :
>
> > Can we be sure that ARCH_SUBDIR never contains a trailing slash?
> > It comes from:
> > ARCH_SUBDIR=`$(TOOLCHAIN_EXTERNAL_CC) $(TOOLCHAIN_EXTERNAL_CFLAGS)
> > -print-multi-directory`
>
> Hum, it no longer comes from -print-multi-directory as per 03/14.
> ARCH_SUBDIR is computed as follows:
>
> +       ARCH_SUBDIR=`echo $${ARCH_SYSROOT_DIR} | sed -r -e
> "s:^$${SYSROOT_DIR}(.*)/$$:\1:"` ; \
>
> As you can see, the sed expression removes the trailing slash.
>
> Is this correct?
>

Ok, I took the ARCH_SUBDIR from an unpatched repo not realizing it changed
as well. My bad..
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20120104/274bd227/attachment.html>


More information about the buildroot mailing list