aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2016-08-31 14:02:50 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-08-31 17:53:30 +0100
commitbb90722a0fe6383348d08cd700b39fbfb46e3d35 (patch)
tree9672f699463f0872b9574088bc3ee52d0d283de5
parenta650a4245eafa63261494b01db2d70e26868fb66 (diff)
downloadopenembedded-core-contrib-bb90722a0fe6383348d08cd700b39fbfb46e3d35.tar.gz
openembedded-core-contrib-bb90722a0fe6383348d08cd700b39fbfb46e3d35.tar.bz2
openembedded-core-contrib-bb90722a0fe6383348d08cd700b39fbfb46e3d35.zip
image: populate_sdk_base: add DEPLOYDIR variable
This is a preparation for changing deployment directory for image and populate_sdk targets. Introduced new variable DEPLOYDIR. Set it to current image/sdk deployment locations. Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/image.bbclass2
-rw-r--r--meta/classes/populate_sdk_base.bbclass2
2 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index c06dee2f0cf..b3dc6898817 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -74,6 +74,8 @@ IMAGE_INSTALL[type] = "list"
export PACKAGE_INSTALL ?= "${IMAGE_INSTALL} ${ROOTFS_BOOTSTRAP_INSTALL} ${FEATURE_INSTALL}"
PACKAGE_INSTALL_ATTEMPTONLY ?= "${FEATURE_INSTALL_OPTIONAL}"
+DEPLOYDIR = "${DEPLOY_DIR_IMAGE}"
+
# Images are generally built explicitly, do not need to be part of world.
EXCLUDE_FROM_WORLD = "1"
diff --git a/meta/classes/populate_sdk_base.bbclass b/meta/classes/populate_sdk_base.bbclass
index 645a7f4cced..be731c05f11 100644
--- a/meta/classes/populate_sdk_base.bbclass
+++ b/meta/classes/populate_sdk_base.bbclass
@@ -26,6 +26,8 @@ SDK_DIR = "${WORKDIR}/sdk"
SDK_OUTPUT = "${SDK_DIR}/image"
SDK_DEPLOY = "${DEPLOY_DIR}/sdk"
+DEPLOYDIR = "${SDK_DEPLOY}"
+
B_task-populate-sdk = "${SDK_DIR}"
SDKTARGETSYSROOT = "${SDKPATH}/sysroots/${REAL_MULTIMACH_TARGET_SYS}"