summaryrefslogtreecommitdiff
path: root/classes/kernel.oeclass
diff options
context:
space:
mode:
Diffstat (limited to 'classes/kernel.oeclass')
-rw-r--r--classes/kernel.oeclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/classes/kernel.oeclass b/classes/kernel.oeclass
index 3c55e3ce1e..0190e5fce6 100644
--- a/classes/kernel.oeclass
+++ b/classes/kernel.oeclass
@@ -3,7 +3,8 @@ inherit module_strip
PROVIDES += "virtual/kernel"
DEPENDS += "virtual/${TARGET_PREFIX}depmod virtual/${TARGET_PREFIX}gcc${KERNEL_CCSUFFIX} update-modules"
-export ARCH = "${TARGET_ARCH}"
+inherit kernel-arch
+
export OS = "${TARGET_OS}"
export CROSS_COMPILE = "${TARGET_PREFIX}"
KERNEL_IMAGETYPE = "zImage"