summaryrefslogtreecommitdiff
path: root/classes/kernel.bbclass
diff options
context:
space:
mode:
authorDale Farnsworth <dfarnsworth@mvista.com>2009-07-21 11:32:21 -0700
committerChris Larson <clarson@mvista.com>2009-08-24 14:10:42 -0700
commit34cd6c2a37c03d694ba98414e902b9250cd67b77 (patch)
tree752e2a15a98cd0d84c6f02a253a270cbe308bef3 /classes/kernel.bbclass
parent278cec5e0eba9ce1d18ac4eb0699ce3ee167168f (diff)
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<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>
Diffstat (limited to 'classes/kernel.bbclass')
-rw-r--r--classes/kernel.bbclass4
1 files changed, 4 insertions, 0 deletions
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}"