summaryrefslogtreecommitdiff
path: root/classes/module-base.oeclass
blob: 20827ab385ca23758e2011af447d1e5e73e64442 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
export ARCH = "${TARGET_ARCH}"
export ARCH_i686 = "i386"
export ARCH_mipsel = "mips"
export ARCH_armeb = "arm"
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}"