Hi Patrick,
Le Tue, 15 Jan 2013 16:52:14 +0000,
Patrick Turley <[email protected]> a écrit :
> 1) Has anyone else run into this before?
>
> 2) If so, how did you resolve it?
>
> 3) Since the Yocto kernel build is *not* failing, I infer that it is *not*
> using the ld options the SDK gives me. So, the Yocto kernel build has its own
> pathway through which it computes its value for LDFLAGS. Why would Yocto use
> its own SDK in a way that no user is expected to?
>
to build a kernel using the SDK (so outside Yocto) you need to unset
LDFLAGS like :
LDFLAGS="" CROSS_COMPILE=arm-oe-linux-gnueabi- ARCH=arm make
When building the kernel inside oe-core that's done in
kernel.bbclass :
unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS MACHINE
Eric
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto