summaryrefslogtreecommitdiffstats
path: root/meta/classes/scons.bbclass
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:29:44 +0100
commit46f4df3052b9403730900da680c9e62c0c757a28 (patch)
treefc7e716aa8e50550dc2f4d04dfb26265813a5399 /meta/classes/scons.bbclass
parentdd61d59c47f95a3f9b451f4cc903c5c31621ac0c (diff)
downloadpoky-46f4df3052b9403730900da680c9e62c0c757a28.tar.gz
classes: scons: add EXTRA_OESCONS
(From OE-Core rev: 8c9ff3a5df85339e5d2b85fa00e471b6a3d17bd2) 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>
Diffstat (limited to 'meta/classes/scons.bbclass')
-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 211746fd0f..a07a366df8 100644
--- a/meta/classes/scons.bbclass
+++ b/meta/classes/scons.bbclass
@@ -1,12 +1,14 @@
1DEPENDS += "python-scons-native" 1DEPENDS += "python-scons-native"
2 2
3EXTRA_OESCONS ?= ""
4
3scons_do_compile() { 5scons_do_compile() {
4 ${STAGING_BINDIR_NATIVE}/scons PREFIX=${prefix} prefix=${prefix} || \ 6 ${STAGING_BINDIR_NATIVE}/scons PREFIX=${prefix} prefix=${prefix} ${EXTRA_OESCONS} || \
5 bbfatal "scons build execution failed." 7 bbfatal "scons build execution failed."
6} 8}
7 9
8scons_do_install() { 10scons_do_install() {
9 ${STAGING_BINDIR_NATIVE}/scons PREFIX=${D}${prefix} prefix=${D}${prefix} install || \ 11 ${STAGING_BINDIR_NATIVE}/scons PREFIX=${D}${prefix} prefix=${D}${prefix} install ${EXTRA_OESCONS}|| \
10 bbfatal "scons install execution failed." 12 bbfatal "scons install execution failed."
11} 13}
12 14