summaryrefslogtreecommitdiff
path: root/classes/scons.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'classes/scons.bbclass')
-rw-r--r--classes/scons.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/scons.bbclass b/classes/scons.bbclass
index 89b5da2d0e..534b3bd4c7 100644
--- a/classes/scons.bbclass
+++ b/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."
}