diff options
| author | Ovidiu Sas <sip.nslu@gmail.com> | 2008-01-16 14:59:56 +0000 |
|---|---|---|
| committer | Ovidiu Sas <sip.nslu@gmail.com> | 2008-01-16 14:59:56 +0000 |
| commit | 3e876cbe412792ef85ce8ed72b29130e7d396cf1 (patch) | |
| tree | 7fd9f35717656e1c7ed684dd4180da4bb4967dd7 /classes/module-base.bbclass | |
| parent | 79ea22d203a33c048d1a6d1434f9592f6900852d (diff) | |
| parent | b13686f579217a17eaebeef868d02c02775221a8 (diff) | |
merge of 'ab1a06b7453ad48a1ad5b4f9ee053cd6a9e04d28'
and 'c794a426d2a55b0c4b5f1f6fee90c8272bd266e9'
Diffstat (limited to 'classes/module-base.bbclass')
| -rw-r--r-- | classes/module-base.bbclass | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/classes/module-base.bbclass b/classes/module-base.bbclass index da5bd01dae..c98baceeab 100644 --- a/classes/module-base.bbclass +++ b/classes/module-base.bbclass @@ -10,6 +10,7 @@ export KERNEL_SOURCE = "${@base_read_file('${STAGING_KERNEL_DIR}/kernel-source') KERNEL_OBJECT_SUFFIX = "${@[".o", ".ko"][base_read_file('${STAGING_KERNEL_DIR}/kernel-abiversion') > "2.6.0"]}" KERNEL_CCSUFFIX = "${@base_read_file('${STAGING_KERNEL_DIR}/kernel-ccsuffix')}" KERNEL_LDSUFFIX = "${@base_read_file('${STAGING_KERNEL_DIR}/kernel-ldsuffix')}" +KERNEL_ARSUFFIX = "${@base_read_file('${STAGING_KERNEL_DIR}/kernel-arsuffix')}" # Set TARGET_??_KERNEL_ARCH in the machine .conf to set architecture # specific options necessary for building the kernel and modules. @@ -17,9 +18,12 @@ TARGET_CC_KERNEL_ARCH ?= "" HOST_CC_KERNEL_ARCH ?= "${TARGET_CC_KERNEL_ARCH}" TARGET_LD_KERNEL_ARCH ?= "" HOST_LD_KERNEL_ARCH ?= "${TARGET_LD_KERNEL_ARCH}" +TARGET_AR_KERNEL_ARCH ?= "" +HOST_AR_KERNEL_ARCH ?= "${TARGET_AR_KERNEL_ARCH}" KERNEL_CC = "${CCACHE}${HOST_PREFIX}gcc${KERNEL_CCSUFFIX} ${HOST_CC_KERNEL_ARCH}" KERNEL_LD = "${LD}${KERNEL_LDSUFFIX} ${HOST_LD_KERNEL_ARCH}" +KERNEL_AR = "${AR}${KERNEL_ARSUFFIX} ${HOST_AR_KERNEL_ARCH}" # kernel modules are generally machine specific PACKAGE_ARCH = "${MACHINE_ARCH}" |
