diff options
Diffstat (limited to 'classes')
-rw-r--r-- | classes/kernel-arch.oeclass | 0 | ||||
-rw-r--r-- | classes/kernel.oeclass | 3 | ||||
-rw-r--r-- | classes/module-base.oeclass | 6 |
3 files changed, 4 insertions, 5 deletions
diff --git a/classes/kernel-arch.oeclass b/classes/kernel-arch.oeclass new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/classes/kernel-arch.oeclass 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" diff --git a/classes/module-base.oeclass b/classes/module-base.oeclass index daa8978616..77e8ae4f78 100644 --- a/classes/module-base.oeclass +++ b/classes/module-base.oeclass @@ -1,9 +1,7 @@ inherit module_strip -export ARCH = "${TARGET_ARCH}" -export ARCH_i686 = "i386" -export ARCH_mipsel = "mips" -export ARCH_armeb = "arm" +inherit kernel-arch + export OS = "${TARGET_OS}" export CROSS_COMPILE = "${TARGET_PREFIX}" |