diff options
Diffstat (limited to 'meta/classes/populate_sdk_deb.bbclass')
-rw-r--r-- | meta/classes/populate_sdk_deb.bbclass | 18 |
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 @@ | |||
1 | do_populate_sdk[depends] += "dpkg-native:do_populate_sysroot apt-native:do_populate_sysroot bzip2-native:do_populate_sysroot" | ||
2 | |||
3 | python () { | ||
4 | # Map TARGET_ARCH to Debian's ideas about architectures | ||
5 | darch = d.getVar('SDK_ARCH', True) | ||
6 | if darch in ["x86", "i486", "i586", "i686", "pentium"]: | ||
7 | d.setVar('DEB_SDK_ARCH', 'i386') | ||
8 | elif darch == "x86_64": | ||
9 | d.setVar('DEB_SDK_ARCH', 'amd64') | ||
10 | elif darch == "arm": | ||
11 | d.setVar('DEB_SDK_ARCH', 'armel') | ||
12 | } | ||
13 | |||
14 | |||
15 | do_populate_sdk[lockfiles] += "${DEPLOY_DIR_DEB}/deb.lock" | ||
16 | |||
17 | # This will of course only work after rootfs_deb_do_rootfs or populate_sdk_deb has been called | ||
18 | DPKG_QUERY_COMMAND = "${STAGING_BINDIR_NATIVE}/dpkg-query --admindir=$INSTALL_ROOTFS_DEB/var/lib/dpkg" | ||