Hi All,
I'm cross compiling an third party source code to powerpc platform by writing an bitbake file. In third party source code for an particular directory alone I need to compile it for x86 since it need to generate binary to execute in x86 system.
So I replaced the env variable in the script of that directory, setting host env, and also exported shell env variables to x86.
But even after replacing the env variables, while compiling it is taking as powerpc only.
I have tried all different possible ways, but whatever the changes I did, while compilation its got replaced with powerpc.
Im not sure where I miss the stuff..
Can anyone help me in this ??
FYI below is my bbfile,
##########################################################
DESCRIPTION = "Thirdparty source code"
LICENSE = "Apache license"
LIC_FILES_CHKSUM = "file://LICENSE;md5=ffsfdf7hmgc7db22bbabf6h8787667df"
DEPENDS = "python-scons-native git python wget gcc patch make autoconf automake vim python-lxml unzip flex bison openssl protobuf tbb libipfix librdkafka"
inherit autotools
do_fetch() {
cd ${WORKDIR}/source-2.20
repo init path
repo sync
}
do_compile() {
cd ${WORKDIR}/source-2.20/
compile source
}
##########################################################
--thanks