diff options
author | Phil Blundell <philb@gnu.org> | 2004-09-18 17:44:04 +0000 |
---|---|---|
committer | Phil Blundell <philb@gnu.org> | 2004-09-18 17:44:04 +0000 |
commit | 269792d02789a8f876a7259246c62eba84c06c94 (patch) | |
tree | 75de91c3d57c135a0411f44d864c7c7aff8c774a /classes | |
parent | 6ed526ccebbb235c4a300c0485f7a985aab4db32 (diff) |
set ARCH to i386 if TARGET_ARCH is i686
BKrev: 414c73e4UF749eZC2xvOy3qkOQiQYQ
Diffstat (limited to 'classes')
-rw-r--r-- | classes/module-base.oeclass | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/classes/module-base.oeclass b/classes/module-base.oeclass index e69de29bb2..c3cc1763ba 100644 --- a/classes/module-base.oeclass +++ b/classes/module-base.oeclass @@ -0,0 +1,11 @@ +export ARCH = "${TARGET_ARCH}" +export ARCH_i686 = "i386" +export OS = "${TARGET_OS}" +export CROSS_COMPILE = "${TARGET_PREFIX}" + +export KERNEL_VERSION = ${@base_read_file('${STAGING_DIR}/${HOST_SYS}/kernel/kernel-abiversion')} +export KERNEL_SOURCE = ${@base_read_file('${STAGING_DIR}/${HOST_SYS}/kernel/kernel-source')} +KERNEL_CCSUFFIX = ${@base_read_file('${STAGING_DIR}/${HOST_SYS}/kernel/kernel-ccsuffix')} +KERNEL_LDSUFFIX = ${@base_read_file('${STAGING_DIR}/${HOST_SYS}/kernel/kernel-ldsuffix')} +KERNEL_CC = "${CCACHE}${HOST_PREFIX}gcc${KERNEL_CCSUFFIX}" +KERNEL_LD = "${LD}${KERNEL_LDSUFFIX}" |