From: Dale Farnsworth Date: Tue, 21 Jul 2009 18:32:21 +0000 (-0700) Subject: kernel.bbclass: Set EXTRA_OEMAKE to null for kernel X-Git-Tag: Release-2010-05/1~2616^2~1^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34cd6c2a37c03d694ba98414e902b9250cd67b77;p=openembedded.git kernel.bbclass: Set EXTRA_OEMAKE to null for kernel Currently the only thing in EXTRA_OEMAKE is '-e MAKEFLAGS='. We don't want to overide the kernel's Makefile variables from the environment. It caused the passed -j parameter from PARALLEL_MAKE to be ignored. Signed-off-by: Dale Farnsworth Signed-off-by: Chris Larson Acked-by: Denys Dmytriyenko --- diff --git a/classes/kernel.bbclass b/classes/kernel.bbclass index 4cf5bed448..c5192d59d4 100644 --- a/classes/kernel.bbclass +++ b/classes/kernel.bbclass @@ -78,6 +78,10 @@ PACKAGE_ARCH = "${MACHINE_ARCH}" UBOOT_ENTRYPOINT ?= "20008000" UBOOT_LOADADDRESS ?= "${UBOOT_ENTRYPOINT}" +# For the kernel, we don't want the '-e MAKEFLAGS=' in EXTRA_OEMAKE. +# We don't want to override kernel Makefile variables from the environment +EXTRA_OEMAKE = "" + kernel_do_compile() { unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS MACHINE oe_runmake include/linux/version.h CC="${KERNEL_CC}" LD="${KERNEL_LD}"