[OE-core] [oe-core] ti-codec-engine build error
Koen Kooi
koen at dominion.thruhere.net
Thu Aug 4 07:37:28 UTC 2011
Op 4 aug. 2011, om 08:07 heeft Joel A Fernandes het volgende geschreven:
> I have been working on migrating the codec-engine recipe from OE
> classic to OE-core,
>
> As of now, do_compile stage fails as it expects "bin/ar" in the
> toolchain path. What would be a correct fix for this?
>
> My meta-texasinstruments git tree is at:
> https://github.com/joelagnel/meta-texasinstruments
>
> Here is a build log:
>
> [..]
>
> # clv5T viddec1_copy.c ...
> /home/joel/angstrom-oe/setup-scripts-core/build/tmp-angstrom_2010_x-eglibc/sysroots/i686-linux/usr/bin/armv7a-angstrom-linux-gnueabi/arm-angstrom-linux-gnueabi-gcc
> -c -MD -MF package/lib/lib/release/viddec1_copy/viddec1_copy.ov5T.dep
So here it's picking up TOOLCHAIN_PATH correctly thru CGTOOLS_V5T
> make[1]: /home/joel/angstrom-oe/setup-scripts-core/build/tmp-angstrom_2010_x-eglibc/sysroots/i686-linux/usr/bin/armv7a-angstrom-linux-gnueabi/arm-angstrom-linux-gnueabi/bin/ar:
But it seems to want to call ar differently. In other recipes we add the following to make:
AR="${TOOLCHAIN_PATH}/${TARGET_PREFIX}ar" \
ARCHIVER="${TOOLCHAIN_PATH}/${TARGET_PREFIX}ar" \
And a minor nit: please copy over only 1 version when moving things to meta-ti, the latest version is usually fine.
regards,
Koen
More information about the Openembedded-core
mailing list