[oe] [PATCH] scons: add EXTRA_OESCONS
Koen Kooi
koen at dominion.thruhere.net
Fri Jan 7 21:17:23 UTC 2011
Op 7 jan 2011, om 21:54 heeft Víctor Manuel Jáquez Leal het volgende geschreven:
> It's similar to EXTRA_OEMAKE, which appends arguments to the scons
> command
>
> Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez at igalia.com>
> ---
> classes/scons.bbclass | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/classes/scons.bbclass b/classes/scons.bbclass
> index 2a935e4..13243a0 100644
> --- a/classes/scons.bbclass
> +++ b/classes/scons.bbclass
> @@ -11,7 +11,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."
>
It would be best to do
EXTRA_OESCONS ?= ""
right above that to avoid weird expansion problems.
regards,
Koen
More information about the Openembedded-devel
mailing list