summaryrefslogtreecommitdiff
path: root/classes/kernel.oeclass
diff options
context:
space:
mode:
Diffstat (limited to 'classes/kernel.oeclass')
-rw-r--r--classes/kernel.oeclass6
1 files changed, 1 insertions, 5 deletions
diff --git a/classes/kernel.oeclass b/classes/kernel.oeclass
index cc1aa87877..dead95132e 100644
--- a/classes/kernel.oeclass
+++ b/classes/kernel.oeclass
@@ -44,11 +44,7 @@ def get_kernelversion(p):
KERNEL_VERSION = "${@get_kernelversion('${S}/include/linux/version.h')}"
# kernels are generally machine specific
-python () {
- mach = oe.data.getVar('MACHINE', d, 1)
- if mach:
- oe.data.setVar('PACKAGE_ARCH', oe.data.getVar('MACHINE_ARCH', d, 1), d)
-}
+PACKAGE_ARCH := "${MACHINE_ARCH}"
kernel_do_compile() {
unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS