[OE-core] [PATCH] classes/qmake_base: allow parallel make
Saul Wold
sgw at linux.intel.com
Thu Jun 6 05:02:48 UTC 2013
On 06/05/2013 09:05 PM, Jonathan Liu wrote:
> Remove MAKEFLAGS= from EXTRA_OEMAKE to allow parallel make.
>
> Signed-off-by: Jonathan Liu <net147 at gmail.com>
> ---
> meta/classes/qmake_base.bbclass | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/classes/qmake_base.bbclass b/meta/classes/qmake_base.bbclass
> index 52e7fb0..3762887 100644
> --- a/meta/classes/qmake_base.bbclass
> +++ b/meta/classes/qmake_base.bbclass
> @@ -4,7 +4,7 @@ OE_QMAKE_PLATFORM = "${TARGET_OS}-oe-g++"
> QMAKESPEC := "${QMAKE_MKSPEC_PATH}/${OE_QMAKE_PLATFORM}"
>
> # We override this completely to eliminate the -e normally passed in
> -EXTRA_OEMAKE = ' MAKEFLAGS= '
> +EXTRA_OEMAKE = ""
>
I don't think this is correct, have you checked the run.do_compile script?
It shows
make -j 16 MAKEFLAGS= "$@" || die "oe_runmake failed"
Which means the parallel make info is being passed correctly.
Sau!
> export OE_QMAKE_CC="${CC}"
> export OE_QMAKE_CFLAGS="${CFLAGS}"
>
More information about the Openembedded-core
mailing list