Lines 177-183
Link Here
|
177 |
multijob_finish |
177 |
multijob_finish |
178 |
elibtoolize |
178 |
elibtoolize |
179 |
|
179 |
|
180 |
if [[ ${PV} == "9999" ]] || use java ; then #558798 |
180 |
# Cross-compiler support |
|
|
181 |
# We need JsonSchemaBuilder and TexturePacker binaries for the host system |
182 |
# Later we need libsquish for the target system |
183 |
if tc-is-cross-compiler ; then |
184 |
mkdir "${WORKDIR}"/${CBUILD} |
185 |
pushd "${WORKDIR}"/${CBUILD} >/dev/null |
186 |
einfo "Building host tools" |
187 |
cp -a $S/{tools,xbmc} ./ |
188 |
for bin in JsonSchemaBuilder TexturePacker ; do |
189 |
tc-env_build emake -C tools/depends/native/$bin |
190 |
mkdir $S/tools/depends/native/$bin/bin |
191 |
ln -s "${WORKDIR}"/${CBUILD}/tools/depends/native/$bin/bin/$bin $S/tools/depends/native/$bin/bin/$bin |
192 |
done |
193 |
popd >/dev/null |
194 |
|
195 |
emake -f codegenerator.mk |
196 |
|
197 |
# Binary kodi.bin links against libsquish, |
198 |
# so we need libsquish compiled for the target system |
199 |
emake -C tools/depends/native/libsquish-native/ CXX=$(tc-getCXX) |
200 |
elif [[ ${PV} == "9999" ]] || use java ; then #558798 |
181 |
tc-env_build emake -f codegenerator.mk |
201 |
tc-env_build emake -f codegenerator.mk |
182 |
fi |
202 |
fi |
183 |
|
203 |
|