[oe] [PATCH v2] scons: add EXTRA_OESCONS
Koen Kooi
koen at dominion.thruhere.net
Mon Jan 10 14:28:29 UTC 2011
Op 10 jan 2011, om 15:12 heeft Víctor Manuel Jáquez Leal het volgende geschreven:
> 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>
Acked-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."
> }
>
> --
> 1.7.2.3
>
More information about the Openembedded-devel
mailing list