summaryrefslogtreecommitdiff
path: root/meta/classes/singlemachine.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-07-17 20:49:48 +0000
committerRichard Purdie <richard@openedhand.com>2008-07-17 20:49:48 +0000
commit767d9ca544c9c5bce686d8924619d9ab2385d8e8 (patch)
treec68c8b6f810d0c72eb82bf894de42e6d39c369dd /meta/classes/singlemachine.bbclass
parent45d0dac16ad84f9eb0264dfd662238e3913619d6 (diff)
downloadopenembedded-core-767d9ca544c9c5bce686d8924619d9ab2385d8e8.tar.gz
openembedded-core-767d9ca544c9c5bce686d8924619d9ab2385d8e8.tar.bz2
openembedded-core-767d9ca544c9c5bce686d8924619d9ab2385d8e8.zip
Merge multimachine class into bitbake.conf and create singlemachine.bbclass as a backwards compatibility option
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4858 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/classes/singlemachine.bbclass')
-rw-r--r--meta/classes/singlemachine.bbclass15
1 files changed, 15 insertions, 0 deletions
diff --git a/meta/classes/singlemachine.bbclass b/meta/classes/singlemachine.bbclass
new file mode 100644
index 0000000000..c685ce397a
--- /dev/null
+++ b/meta/classes/singlemachine.bbclass
@@ -0,0 +1,15 @@
+#
+# Emulates the old mode of OE operation where only one machine can be targetted.
+#
+
+MULTIMACH_TARGET_SYS = "${TARGET_SYS}"
+MULTIMACH_HOST_SYS = "${HOST_SYS}"
+
+STAMP = "${TMPDIR}/stamps/${PF}"
+WORKDIR = "${TMPDIR}/work/${PF}"
+STAGING_DIR_HOST = "${STAGING_DIR}/${HOST_SYS}"
+STAGING_DIR_TARGET = "${STAGING_DIR}/${TARGET_SYS}"
+PKGDATA_DIR = "${STAGING_DIR}/pkgdata"
+STAGING_KERNEL_DIR = "${STAGING_DIR_HOST}/kernel"
+
+