[oe-commits] Víctor Manuel Jáquez Leal : scons : add EXTRA_OESCONS

git version control git at git.openembedded.org
Tue Jan 11 12:49:07 UTC 2011


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 1f90d78726802aa0e4bfd579d997ed87c02e6eff
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=1f90d78726802aa0e4bfd579d997ed87c02e6eff

Author: Víctor Manuel Jáquez Leal <vjaquez at igalia.com>
Date:   Mon Jan 10 22:12:14 2011 +0000

scons: add EXTRA_OESCONS

It's similar to EXTRA_OEMAKE, which appends arguments to the scons
command

v2:
* initialise the EXTRA_OECONS if it is not defined

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez at igalia.com>
Signed-off-by: Koen Kooi <koen at openembedded.org>

---

 classes/scons.bbclass |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/classes/scons.bbclass b/classes/scons.bbclass
index 2a935e4..c19f8d4 100644
--- a/classes/scons.bbclass
+++ b/classes/scons.bbclass
@@ -1,5 +1,7 @@
 DEPENDS += "python-scons-native"
 
+EXTRA_OESCONS ?= ""
+
 export TARGET_LINK_HASH_STYLE
 
 scons_do_compile() {
@@ -11,7 +13,7 @@ scons_do_compile() {
         fi
     fi
 
-    ${STAGING_BINDIR_NATIVE}/scons ${PARALLEL_MAKE} CXX="${CXX}" PREFIX=${prefix} prefix=${prefix} || \
+    ${STAGING_BINDIR_NATIVE}/scons ${PARALLEL_MAKE} CXX="${CXX}" PREFIX=${prefix} prefix=${prefix} ${EXTRA_OESCONS} || \
     oefatal "scons build execution failed."
 }
 





More information about the Openembedded-commits mailing list