diff options
author | Denis 'GNUtoo' Carikli <GNUtoo@no-log.org> | 2012-03-23 23:30:42 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-26 23:27:25 +0100 |
commit | 8c9ff3a5df85339e5d2b85fa00e471b6a3d17bd2 (patch) | |
tree | d669bfede341dca3f757f5b6ea09eee29dc4f373 | |
parent | a81c03cf6111106d04f2883b168f5be78900ee5f (diff) | |
download | openembedded-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.bbclass | 6 |
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." } |