[RFC][PATCH 0/1] toolchain conflict for userspace tools
Stefan Müller-Klieser
s.mueller-klieser at phytec.de
Mon Apr 20 06:10:26 PDT 2015
Dear bareboxers,
I ask for help with a problem I am facing. If the buildsystem compiles
gcc with multilib support, gcc can support the float abi callconvention
to be generated dynamically, as yocto starting with v1.7 does. So we
don't have the usual default "--with-float=hard", but gcc sets the
mfloat-abi at runtime for every package.
This seems to work well in general, e.g. modern autotools and the
Kconfig infrastructure for kernel and barebox. However this fails
for the target tools in the barebox script folder. They need to have
the --with-float=hard set, or they will try to compile as softfloat.
I think the general solution would be to give the user the possibility
to redefine the CC for the userspace tools, as this is very specific
to the environment where the barebox gets compiled.
But maybe someone with a deeper knowledge of the Makefile infrastructure
can recommend a better long term solution.
Regards,
Stefan
Stefan Müller-Klieser (1):
scripts/Makefile: add TARGETCC
scripts/Makefile | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
--
1.9.1
More information about the barebox
mailing list