2005-08-31 10:45:47 +00:00
|
|
|
DEPENDS += "python-scons-native"
|
|
|
|
|
2012-03-23 22:30:42 +00:00
|
|
|
EXTRA_OESCONS ?= ""
|
|
|
|
|
2005-08-31 10:45:47 +00:00
|
|
|
scons_do_compile() {
|
2012-03-23 22:30:42 +00:00
|
|
|
${STAGING_BINDIR_NATIVE}/scons PREFIX=${prefix} prefix=${prefix} ${EXTRA_OESCONS} || \
|
2011-04-29 04:49:31 +00:00
|
|
|
bbfatal "scons build execution failed."
|
2005-08-31 10:45:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
scons_do_install() {
|
2012-03-23 22:30:42 +00:00
|
|
|
${STAGING_BINDIR_NATIVE}/scons PREFIX=${D}${prefix} prefix=${D}${prefix} install ${EXTRA_OESCONS}|| \
|
2011-04-29 04:49:31 +00:00
|
|
|
bbfatal "scons install execution failed."
|
2005-08-31 10:45:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
EXPORT_FUNCTIONS do_compile do_install
|