diff options
-rw-r--r-- | meta/classes/scons.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/scons.bbclass b/meta/classes/scons.bbclass index 89b5da2d0e..adcb57f39e 100644 --- a/meta/classes/scons.bbclass +++ b/meta/classes/scons.bbclass | |||
@@ -1,12 +1,12 @@ | |||
1 | DEPENDS += "python-scons-native" | 1 | DEPENDS += "python-scons-native" |
2 | 2 | ||
3 | scons_do_compile() { | 3 | scons_do_compile() { |
4 | ${STAGING_BINDIR_NATIVE}/scons || \ | 4 | ${STAGING_BINDIR_NATIVE}/scons PREFIX=${prefix} prefix=${prefix} || \ |
5 | oefatal "scons build execution failed." | 5 | oefatal "scons build execution failed." |
6 | } | 6 | } |
7 | 7 | ||
8 | scons_do_install() { | 8 | scons_do_install() { |
9 | ${STAGING_BINDIR_NATIVE}/scons install || \ | 9 | ${STAGING_BINDIR_NATIVE}/scons PREFIX=${D}${prefix} prefix=${D}${prefix} install || \ |
10 | oefatal "scons install execution failed." | 10 | oefatal "scons install execution failed." |
11 | } | 11 | } |
12 | 12 | ||