1 DEPENDS += "python-scons-native"
5 export TARGET_LINK_HASH_STYLE
8 if [ "${SCONS_FIX_ENV}" = "1" ] ; then
9 if grep "toolchain-from-env" ${S}/SConstruct ; then
10 echo "Toolchain overrides already applied"
12 cat ${STAGING_DATADIR_NATIVE}/scons/toolchain-from-env.SConscript >> ${S}/SConstruct
16 ${STAGING_BINDIR_NATIVE}/scons ${PARALLEL_MAKE} CXX="${CXX}" PREFIX=${prefix} prefix=${prefix} ${EXTRA_OESCONS} || \
17 oefatal "scons build execution failed."
21 install -d ${D}${prefix}
22 ${STAGING_BINDIR_NATIVE}/scons PREFIX=${D}${prefix} prefix=${D}${prefix} install || \
23 oefatal "scons install execution failed."
26 EXPORT_FUNCTIONS do_compile do_install