summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2006-11-20 14:34:03 +0000
committerRichard Purdie <rpurdie@rpsys.net>2006-11-20 14:34:03 +0000
commitd5acf6b0ab977d9eeb93a6f6402f28c12645474d (patch)
tree275646666031be506e7e26b341b83ec12526b566
parent38712c59090394d295677f9a6d3fa019373f4ce5 (diff)
parent0448ec0dcdb422675e2e6595e44cbd09bc7695c9 (diff)
merge of '20512a86807847c46b89aa3589332b9d24cd6502'
and 'd6303c5e818fd02ef51ffd8057190cb2a110bc74'
-rw-r--r--classes/kernel.bbclass4
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