[OE-core] [PATCH 2/3] apr: fix cross compiling failed
Hongxu Jia
hongxu.jia at windriver.com
Wed May 28 11:25:26 UTC 2014
On 05/28/2014 06:48 PM, Burton, Ross wrote:
> On 28 May 2014 10:05, Hongxu Jia <hongxu.jia at windriver.com> wrote:
>> The tools/gen_test_char was invoked at build time, and it didn't
>> work for the cross compiling, so we used the native one to instead.
> Building all of libapr natively and installing the extra binary is
> wasteful when the binary is trivially compiled natively in the target
> build.
>
> Simply add a do_compile_prepend() that uses BUILD_CC and so on to
> compile tools/gen_test_char. As it only uses standard C headers this
> is trivial and you won't need to patch the build at all (obviously
> test when MACHINE is massively incompatible with the host, ie qemuarm
> with x86 host).
Sounds reasonable, I will do that in V2.
//Hongxu
> Ross
More information about the Openembedded-core
mailing list