summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@no-log.org>2012-03-23 23:30:42 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-26 23:27:25 +0100
commit8c9ff3a5df85339e5d2b85fa00e471b6a3d17bd2 (patch)
treed669bfede341dca3f757f5b6ea09eee29dc4f373
parenta81c03cf6111106d04f2883b168f5be78900ee5f (diff)
downloadopenembedded-core-8c9ff3a5df85339e5d2b85fa00e471b6a3d17bd2.tar.gz
openembedded-core-8c9ff3a5df85339e5d2b85fa00e471b6a3d17bd2.tar.bz2
openembedded-core-8c9ff3a5df85339e5d2b85fa00e471b6a3d17bd2.tar.xz
openembedded-core-8c9ff3a5df85339e5d2b85fa00e471b6a3d17bd2.zip
classes: scons: add EXTRA_OESCONS
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/scons.bbclass6
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/classes/scons.bbclass b/meta/classes/scons.bbclass
index 211746fd0..a07a366df 100644
--- a/meta/classes/scons.bbclass
+++ b/meta/classes/scons.bbclass
@@ -1,12 +1,14 @@
DEPENDS += "python-scons-native"
+EXTRA_OESCONS ?= ""
+
scons_do_compile() {
- ${STAGING_BINDIR_NATIVE}/scons PREFIX=${prefix} prefix=${prefix} || \
+ ${STAGING_BINDIR_NATIVE}/scons PREFIX=${prefix} prefix=${prefix} ${EXTRA_OESCONS} || \
bbfatal "scons build execution failed."
}
scons_do_install() {
- ${STAGING_BINDIR_NATIVE}/scons PREFIX=${D}${prefix} prefix=${D}${prefix} install || \
+ ${STAGING_BINDIR_NATIVE}/scons PREFIX=${D}${prefix} prefix=${D}${prefix} install ${EXTRA_OESCONS}|| \
bbfatal "scons install execution failed."
}