diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/scons.bbclass | 6 |
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 @@ | |||
1 | DEPENDS += "python-scons-native" | 1 | DEPENDS += "python-scons-native" |
2 | 2 | ||
3 | EXTRA_OESCONS ?= "" | ||
4 | |||
3 | scons_do_compile() { | 5 | scons_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 | ||
8 | scons_do_install() { | 10 | scons_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 | ||