summaryrefslogtreecommitdiff
path: root/meta/classes/crosssdk.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-09-17 00:47:50 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2009-09-17 22:25:23 +0100
commitc906f2bce424ecf201f16a486959dab600a847b0 (patch)
treeddf72ee5854156dfa63289c752580f1b18b8d00d /meta/classes/crosssdk.bbclass
parenteb1e80fae46d07fcc9e758d924aed25e70927ea1 (diff)
downloadopenembedded-core-c906f2bce424ecf201f16a486959dab600a847b0.tar.gz
openembedded-core-c906f2bce424ecf201f16a486959dab600a847b0.tar.bz2
openembedded-core-c906f2bce424ecf201f16a486959dab600a847b0.zip
crosssdk: Add crosssdk class with gcc and binutils recipes
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/classes/crosssdk.bbclass')
-rw-r--r--meta/classes/crosssdk.bbclass15
1 files changed, 15 insertions, 0 deletions
diff --git a/meta/classes/crosssdk.bbclass b/meta/classes/crosssdk.bbclass
new file mode 100644
index 0000000000..66be3ee216
--- /dev/null
+++ b/meta/classes/crosssdk.bbclass
@@ -0,0 +1,15 @@
+inherit cross
+
+PACKAGES = ""
+
+BASE_PACKAGE_ARCH = "${SDK_ARCH}"
+PACKAGE_ARCH = "${BASE_PACKAGE_ARCH}"
+STAGING_DIR_TARGET = "${STAGING_DIR}/${SDK_ARCH}-${TARGET_ARCH}-nativesdk${TARGET_VENDOR}-${TARGET_OS}"
+
+TARGET_ARCH = "${SDK_ARCH}"
+TARGET_VENDOR = "${SDK_VENDOR}"
+TARGET_OS = "${SDK_OS}"
+TARGET_PREFIX = "${SDK_PREFIX}"
+TARGET_CC_ARCH = "${SDK_CC_ARCH}"
+
+