summaryrefslogtreecommitdiffstats
path: root/meta/classes/crosssdk.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/crosssdk.bbclass')
-rw-r--r--meta/classes/crosssdk.bbclass35
1 files changed, 35 insertions, 0 deletions
diff --git a/meta/classes/crosssdk.bbclass b/meta/classes/crosssdk.bbclass
new file mode 100644
index 0000000..261a374
--- /dev/null
+++ b/meta/classes/crosssdk.bbclass
@@ -0,0 +1,35 @@
1inherit cross
2
3CLASSOVERRIDE = "class-crosssdk"
4PACKAGE_ARCH = "${SDK_ARCH}"
5python () {
6 # set TUNE_PKGARCH to SDK_ARCH
7 d.setVar('TUNE_PKGARCH', d.getVar('SDK_ARCH', True))
8}
9
10STAGING_DIR_TARGET = "${STAGING_DIR}/${SDK_ARCH}-${SDKPKGSUFFIX}${SDK_VENDOR}-${SDK_OS}"
11STAGING_BINDIR_TOOLCHAIN = "${STAGING_DIR_NATIVE}${bindir_native}/${TARGET_ARCH}${TARGET_VENDOR}-${TARGET_OS}"
12
13TARGET_ARCH = "${SDK_ARCH}"
14TARGET_VENDOR = "${SDK_VENDOR}"
15TARGET_OS = "${SDK_OS}"
16TARGET_PREFIX = "${SDK_PREFIX}"
17TARGET_CC_ARCH = "${SDK_CC_ARCH}"
18TARGET_LD_ARCH = "${SDK_LD_ARCH}"
19TARGET_AS_ARCH = "${SDK_AS_ARCH}"
20TARGET_FPU = ""
21
22target_libdir = "${SDKPATHNATIVE}${libdir_nativesdk}"
23target_includedir = "${SDKPATHNATIVE}${includedir_nativesdk}"
24target_base_libdir = "${SDKPATHNATIVE}${base_libdir_nativesdk}"
25target_prefix = "${SDKPATHNATIVE}${prefix_nativesdk}"
26target_exec_prefix = "${SDKPATHNATIVE}${prefix_nativesdk}"
27baselib = "lib"
28
29do_populate_sysroot[stamp-extra-info] = ""
30do_packagedata[stamp-extra-info] = ""
31
32# Need to force this to ensure consitency accross architectures
33EXTRA_OECONF_FPU = ""
34
35USE_NLS = "no"