summaryrefslogtreecommitdiff
path: root/meta/classes/populate_sdk_deb.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2014-08-14 14:31:40 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-08-15 08:43:27 +0100
commit2cf42b49003494e1b10775523c9a2547eaf16ea4 (patch)
treee774f46745aface48a7d9759f3d78ca0a63cc974 /meta/classes/populate_sdk_deb.bbclass
parent4321c553d5ae816e566234e981a0815bba046d39 (diff)
downloadopenembedded-core-2cf42b49003494e1b10775523c9a2547eaf16ea4.tar.gz
openembedded-core-2cf42b49003494e1b10775523c9a2547eaf16ea4.tar.bz2
openembedded-core-2cf42b49003494e1b10775523c9a2547eaf16ea4.zip
classes: Combine rootfs_<pkgtype> and populate_sdk_<pkgtype>
There is no real reason to have these separate files any longer. It does mean in meta-toolchain type recipes some extra variables are defined but it also means the common code can be grouped and maintained together which I believe is more beneficial. We therefore merge the classes. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/populate_sdk_deb.bbclass')
-rw-r--r--meta/classes/populate_sdk_deb.bbclass18
1 files changed, 0 insertions, 18 deletions
diff --git a/meta/classes/populate_sdk_deb.bbclass b/meta/classes/populate_sdk_deb.bbclass
deleted file mode 100644
index 6690e2e2ed..0000000000
--- a/meta/classes/populate_sdk_deb.bbclass
+++ /dev/null
@@ -1,18 +0,0 @@
-do_populate_sdk[depends] += "dpkg-native:do_populate_sysroot apt-native:do_populate_sysroot bzip2-native:do_populate_sysroot"
-
-python () {
- # Map TARGET_ARCH to Debian's ideas about architectures
- darch = d.getVar('SDK_ARCH', True)
- if darch in ["x86", "i486", "i586", "i686", "pentium"]:
- d.setVar('DEB_SDK_ARCH', 'i386')
- elif darch == "x86_64":
- d.setVar('DEB_SDK_ARCH', 'amd64')
- elif darch == "arm":
- d.setVar('DEB_SDK_ARCH', 'armel')
-}
-
-
-do_populate_sdk[lockfiles] += "${DEPLOY_DIR_DEB}/deb.lock"
-
-# This will of course only work after rootfs_deb_do_rootfs or populate_sdk_deb has been called
-DPKG_QUERY_COMMAND = "${STAGING_BINDIR_NATIVE}/dpkg-query --admindir=$INSTALL_ROOTFS_DEB/var/lib/dpkg"