summaryrefslogtreecommitdiffstats
path: root/meta/classes/populate_sdk_deb.bbclass
diff options
context:
space:
mode:
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 0000000..acb1f73
--- /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"