summaryrefslogtreecommitdiffstats
path: root/meta/classes/populate_sdk_deb.bbclass
diff options
context:
space:
mode:
authorTudor Florea <tudor.florea@enea.com>2014-10-16 03:05:19 +0200
committerTudor Florea <tudor.florea@enea.com>2014-10-16 03:05:19 +0200
commitc527fd1f14c27855a37f2e8ac5346ce8d940ced2 (patch)
treebb002c1fdf011c41dbd2f0927bed23ecb5f83c97 /meta/classes/populate_sdk_deb.bbclass
downloadpoky-daisy-140929.tar.gz
initial commit for Enea Linux 4.0-140929daisy-140929
Migrated from the internal git server on the daisy-enea-point-release branch Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta/classes/populate_sdk_deb.bbclass')
-rw-r--r--meta/classes/populate_sdk_deb.bbclass13
1 files changed, 13 insertions, 0 deletions
diff --git a/meta/classes/populate_sdk_deb.bbclass b/meta/classes/populate_sdk_deb.bbclass
new file mode 100644
index 0000000000..acb1f73983
--- /dev/null
+++ b/meta/classes/populate_sdk_deb.bbclass
@@ -0,0 +1,13 @@
1do_populate_sdk[depends] += "dpkg-native:do_populate_sysroot apt-native:do_populate_sysroot bzip2-native:do_populate_sysroot"
2
3DEB_SDK_ARCH = "${@[d.getVar('SDK_ARCH', True), "i386"]\
4 [d.getVar('SDK_ARCH', True) in \
5 ["x86", "i486", "i586", "i686", "pentium"]]}"
6
7DEB_SDK_ARCH = "${@[d.getVar('SDK_ARCH', True), "amd64"]\
8 [d.getVar('SDK_ARCH', True) == "x86_64"]}"
9
10do_populate_sdk[lockfiles] += "${DEPLOY_DIR_DEB}/deb.lock"
11
12# This will of course only work after rootfs_deb_do_rootfs or populate_sdk_deb has been called
13DPKG_QUERY_COMMAND = "${STAGING_BINDIR_NATIVE}/dpkg-query --admindir=$INSTALL_ROOTFS_DEB/var/lib/dpkg"