[Buildroot] [PATCH] pkg-infra: make sure cross compiling is enabled when host == target
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Fri Jul 13 20:55:22 UTC 2012
Le Wed, 11 Jul 2012 00:01:20 +0200,
"Arnout Vandecappelle (Essensium/Mind)" <arnout at mind.be> a écrit :
> When compiling for the same architecture and libc as the host,
> GNU_TARGET_NAME and GNU_HOST_NAME are equal. configure scripts use
> these to detect cross-compilation, and will decide that we're doing
> native compilation. This may trigger running of executables,
> which fail because of missing libraries in the host environment.
>
> To solve this, set the vendor part in GNU_HOST_NAME to buildroot_cross.
Do you see a problem with setting it just to "buildroot"?
buildroot_cross looks a bit ugly to me.
Thanks,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
More information about the buildroot
mailing list