classes: scons: add EXTRA_OESCONS
(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>
This commit is contained in:
parent
dd61d59c47
commit
46f4df3052
|
@ -1,12 +1,14 @@
|
|||
DEPENDS += "python-scons-native"
|
||||
|
||||
EXTRA_OESCONS ?= ""
|
||||
|
||||
scons_do_compile() {
|
||||
${STAGING_BINDIR_NATIVE}/scons PREFIX=${prefix} prefix=${prefix} || \
|
||||
${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 || \
|
||||
${STAGING_BINDIR_NATIVE}/scons PREFIX=${D}${prefix} prefix=${D}${prefix} install ${EXTRA_OESCONS}|| \
|
||||
bbfatal "scons install execution failed."
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue