summaryrefslogtreecommitdiff
path: root/classes/module-base.oeclass
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2004-12-04 04:18:18 +0000
committerChris Larson <clarson@kergoth.com>2004-12-04 04:18:18 +0000
commit5aa973d8a623642a573d5cc88425835380a4e5a4 (patch)
tree97908389f37c6df9a182c1256a1d15e2d709bf45 /classes/module-base.oeclass
parent904ece4b493c49aec06eddf6fde02ebf6cf92668 (diff)
Set PACKAGE_ARCH correctly in kernel.oeclass and module-base.oeclass.
BKrev: 41b13a8adI35NYPM2CtPyMXKQxhXqA
Diffstat (limited to 'classes/module-base.oeclass')
-rw-r--r--classes/module-base.oeclass6
1 files changed, 1 insertions, 5 deletions
diff --git a/classes/module-base.oeclass b/classes/module-base.oeclass
index 0036ddf20c..2b8cd34b48 100644
--- a/classes/module-base.oeclass
+++ b/classes/module-base.oeclass
@@ -13,8 +13,4 @@ KERNEL_CC = "${CCACHE}${HOST_PREFIX}gcc${KERNEL_CCSUFFIX}"
KERNEL_LD = "${LD}${KERNEL_LDSUFFIX}"
# kernel modules 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}"