summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/scons.bbclass6
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/classes/scons.bbclass b/meta/classes/scons.bbclass
index 211746fd0f..a07a366df8 100644
--- a/meta/classes/scons.bbclass
+++ b/meta/classes/scons.bbclass
@@ -1,12 +1,14 @@
1DEPENDS += "python-scons-native" 1DEPENDS += "python-scons-native"
2 2
3EXTRA_OESCONS ?= ""
4
3scons_do_compile() { 5scons_do_compile() {
4 ${STAGING_BINDIR_NATIVE}/scons PREFIX=${prefix} prefix=${prefix} || \ 6 ${STAGING_BINDIR_NATIVE}/scons PREFIX=${prefix} prefix=${prefix} ${EXTRA_OESCONS} || \
5 bbfatal "scons build execution failed." 7 bbfatal "scons build execution failed."
6} 8}
7 9
8scons_do_install() { 10scons_do_install() {
9 ${STAGING_BINDIR_NATIVE}/scons PREFIX=${D}${prefix} prefix=${D}${prefix} install || \ 11 ${STAGING_BINDIR_NATIVE}/scons PREFIX=${D}${prefix} prefix=${D}${prefix} install ${EXTRA_OESCONS}|| \
10 bbfatal "scons install execution failed." 12 bbfatal "scons install execution failed."
11} 13}
12 14