summaryrefslogtreecommitdiff
path: root/meta/classes/scons.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/scons.bbclass')
-rw-r--r--meta/classes/scons.bbclass4
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 @@
DEPENDS += "python-scons-native"
scons_do_compile() {
- ${STAGING_BINDIR_NATIVE}/scons || \
+ ${STAGING_BINDIR_NATIVE}/scons PREFIX=${prefix} prefix=${prefix} || \
oefatal "scons build execution failed."
}
scons_do_install() {
- ${STAGING_BINDIR_NATIVE}/scons install || \
+ ${STAGING_BINDIR_NATIVE}/scons PREFIX=${D}${prefix} prefix=${D}${prefix} install || \
oefatal "scons install execution failed."
}