diff options
| author | Richard Purdie <richard@openedhand.com> | 2006-02-10 11:38:23 +0000 |
|---|---|---|
| committer | Richard Purdie <richard@openedhand.com> | 2006-02-10 11:38:23 +0000 |
| commit | 31116d6c7e368c42bcfdf2dba2000b2203f08e85 (patch) | |
| tree | 9737ea7c974da46ca2a9ee4acad8aabb9cbb2bac /openembedded/classes/module-base.bbclass | |
| parent | 9df0203e2b27ef3ae28b60447df6b91be7be81dc (diff) | |
| download | poky-31116d6c7e368c42bcfdf2dba2000b2203f08e85.tar.gz | |
Update bbclasses from OE
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@266 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'openembedded/classes/module-base.bbclass')
| -rw-r--r-- | openembedded/classes/module-base.bbclass | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/openembedded/classes/module-base.bbclass b/openembedded/classes/module-base.bbclass index df0941d561..da5bd01dae 100644 --- a/openembedded/classes/module-base.bbclass +++ b/openembedded/classes/module-base.bbclass | |||
| @@ -10,8 +10,16 @@ export KERNEL_SOURCE = "${@base_read_file('${STAGING_KERNEL_DIR}/kernel-source') | |||
| 10 | KERNEL_OBJECT_SUFFIX = "${@[".o", ".ko"][base_read_file('${STAGING_KERNEL_DIR}/kernel-abiversion') > "2.6.0"]}" | 10 | KERNEL_OBJECT_SUFFIX = "${@[".o", ".ko"][base_read_file('${STAGING_KERNEL_DIR}/kernel-abiversion') > "2.6.0"]}" |
| 11 | KERNEL_CCSUFFIX = "${@base_read_file('${STAGING_KERNEL_DIR}/kernel-ccsuffix')}" | 11 | KERNEL_CCSUFFIX = "${@base_read_file('${STAGING_KERNEL_DIR}/kernel-ccsuffix')}" |
| 12 | KERNEL_LDSUFFIX = "${@base_read_file('${STAGING_KERNEL_DIR}/kernel-ldsuffix')}" | 12 | KERNEL_LDSUFFIX = "${@base_read_file('${STAGING_KERNEL_DIR}/kernel-ldsuffix')}" |
| 13 | KERNEL_CC = "${CCACHE}${HOST_PREFIX}gcc${KERNEL_CCSUFFIX}" | 13 | |
| 14 | KERNEL_LD = "${LD}${KERNEL_LDSUFFIX}" | 14 | # Set TARGET_??_KERNEL_ARCH in the machine .conf to set architecture |
| 15 | # specific options necessary for building the kernel and modules. | ||
| 16 | TARGET_CC_KERNEL_ARCH ?= "" | ||
| 17 | HOST_CC_KERNEL_ARCH ?= "${TARGET_CC_KERNEL_ARCH}" | ||
| 18 | TARGET_LD_KERNEL_ARCH ?= "" | ||
| 19 | HOST_LD_KERNEL_ARCH ?= "${TARGET_LD_KERNEL_ARCH}" | ||
| 20 | |||
| 21 | KERNEL_CC = "${CCACHE}${HOST_PREFIX}gcc${KERNEL_CCSUFFIX} ${HOST_CC_KERNEL_ARCH}" | ||
| 22 | KERNEL_LD = "${LD}${KERNEL_LDSUFFIX} ${HOST_LD_KERNEL_ARCH}" | ||
| 15 | 23 | ||
| 16 | # kernel modules are generally machine specific | 24 | # kernel modules are generally machine specific |
| 17 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 25 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
