[Buildroot] [PATCH] Fix 'make source' when used with external toolchains

Phil Edworthy Phil.Edworthy at renesas.com
Fri Sep 10 15:47:45 UTC 2010


> > > I was about to send to the list for proposed solutions because I
> feared
> > > that just disabling the specific lines wasn't the right approach.
> >
> > It seemed like the simplest approach at the time!
> >
> Oh, I'm not doubting you.  Just that I wasn't sure of it myself. :-)

There are certainly a lot of makefile dependencies to root through :)


> > Unfortunately I'm not around for the next week so I can't check this. I
> also
> > don’t have a uclibc external toolchain...
> >
> I also only use glibc toolchain (CodeSourcery 2010q1) and that's what
> comes out in $(TARGETS_SOURCE): "uclibc-source".

Ah, I see now... the root Makefile does this:
BASE_TARGETS:=uclibc
so toolchain/uClibc/uclibc.mk is always pulled in.

The patch fixes the problem with a glibc external toolchain (also
CodeSourcery) and since uclibc.mk is always pulled in, I can't see this
being a problem.

Thanks
Phil


More information about the buildroot mailing list