kernel.bbclass: Set EXTRA_OEMAKE to null for kernel
authorDale Farnsworth <dfarnsworth@mvista.com>
Tue, 21 Jul 2009 18:32:21 +0000 (11:32 -0700)
committerChris Larson <clarson@mvista.com>
Mon, 24 Aug 2009 21:10:42 +0000 (14:10 -0700)
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<N> parameter from PARALLEL_MAKE to be ignored.

Signed-off-by: Dale Farnsworth <dfarnsworth@mvista.com>
Signed-off-by: Chris Larson <clarson@mvista.com>
Acked-by: Denys Dmytriyenko <denis@denix.org>
classes/kernel.bbclass

index 4cf5bed..c5192d5 100644 (file)
@@ -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}"