diff options
author | Richard Purdie <rpurdie@rpsys.net> | 2006-11-20 14:33:49 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@rpsys.net> | 2006-11-20 14:33:49 +0000 |
commit | 0448ec0dcdb422675e2e6595e44cbd09bc7695c9 (patch) | |
tree | f4d03166d7b8a2125a11278444cad547eb67ea73 | |
parent | 02f125e6a40c1978258f5a0ae2937d642b4d6705 (diff) |
kernel.bbclass: unset MACHINE otherwise things break (from poky)
-rw-r--r-- | classes/kernel.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/kernel.bbclass b/classes/kernel.bbclass index 3a7fd5b499..13381740a1 100644 --- a/classes/kernel.bbclass +++ b/classes/kernel.bbclass @@ -52,7 +52,7 @@ KERNEL_LOCALVERSION ?= "" PACKAGE_ARCH = "${MACHINE_ARCH}" kernel_do_compile() { - unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS + unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS MACHINE oe_runmake include/linux/version.h CC="${KERNEL_CC}" LD="${KERNEL_LD}" if [ "${KERNEL_MAJOR_VERSION}" != "2.6" ]; then oe_runmake dep CC="${KERNEL_CC}" LD="${KERNEL_LD}" @@ -135,7 +135,7 @@ kernel_do_stage() { } kernel_do_install() { - unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS + unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS MACHINE if (grep -q -i -e '^CONFIG_MODULES=y$' .config); then oe_runmake DEPMOD=echo INSTALL_MOD_PATH="${D}" modules_install else |