46f4df3052
(From OE-Core rev: 8c9ff3a5df85339e5d2b85fa00e471b6a3d17bd2) Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
16 lines
445 B
Text
16 lines
445 B
Text
DEPENDS += "python-scons-native"
|
|
|
|
EXTRA_OESCONS ?= ""
|
|
|
|
scons_do_compile() {
|
|
${STAGING_BINDIR_NATIVE}/scons PREFIX=${prefix} prefix=${prefix} ${EXTRA_OESCONS} || \
|
|
bbfatal "scons build execution failed."
|
|
}
|
|
|
|
scons_do_install() {
|
|
${STAGING_BINDIR_NATIVE}/scons PREFIX=${D}${prefix} prefix=${D}${prefix} install ${EXTRA_OESCONS}|| \
|
|
bbfatal "scons install execution failed."
|
|
}
|
|
|
|
EXPORT_FUNCTIONS do_compile do_install
|