diff options
-rw-r--r-- | meta/classes/kernel.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index 3a7fd5b499..13381740a1 100644 --- a/meta/classes/kernel.bbclass +++ b/meta/classes/kernel.bbclass | |||
@@ -52,7 +52,7 @@ KERNEL_LOCALVERSION ?= "" | |||
52 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 52 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
53 | 53 | ||
54 | kernel_do_compile() { | 54 | kernel_do_compile() { |
55 | unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS | 55 | unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS MACHINE |
56 | oe_runmake include/linux/version.h CC="${KERNEL_CC}" LD="${KERNEL_LD}" | 56 | oe_runmake include/linux/version.h CC="${KERNEL_CC}" LD="${KERNEL_LD}" |
57 | if [ "${KERNEL_MAJOR_VERSION}" != "2.6" ]; then | 57 | if [ "${KERNEL_MAJOR_VERSION}" != "2.6" ]; then |
58 | oe_runmake dep CC="${KERNEL_CC}" LD="${KERNEL_LD}" | 58 | oe_runmake dep CC="${KERNEL_CC}" LD="${KERNEL_LD}" |
@@ -135,7 +135,7 @@ kernel_do_stage() { | |||
135 | } | 135 | } |
136 | 136 | ||
137 | kernel_do_install() { | 137 | kernel_do_install() { |
138 | unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS | 138 | unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS MACHINE |
139 | if (grep -q -i -e '^CONFIG_MODULES=y$' .config); then | 139 | if (grep -q -i -e '^CONFIG_MODULES=y$' .config); then |
140 | oe_runmake DEPMOD=echo INSTALL_MOD_PATH="${D}" modules_install | 140 | oe_runmake DEPMOD=echo INSTALL_MOD_PATH="${D}" modules_install |
141 | else | 141 | else |