summaryrefslogtreecommitdiff
path: root/classes/scons.bbclass
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2007-01-21 23:01:14 +0000
committerMichael Lauer <mickey@vanille-media.de>2007-01-21 23:01:14 +0000
commit20b0a297873a39589eab87563b93a1b299533584 (patch)
tree1bf3558a5b828f88d7d91188067495aa67ec6236 /classes/scons.bbclass
parent4e9277d080e363f4eaa16a0d345c23970a65c4e5 (diff)
scons.bbclass: override installation prefix
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."
}