summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorAndreas Oberritter <obi@opendreambox.org>2016-10-23 20:37:20 +0000
committerAndreas Oberritter <obi@opendreambox.org>2020-07-02 12:18:38 +0200
commitc37ac605c45a3355e0b57676ff8718c5c288d2f2 (patch)
treedc6d262e1efbfcb3ba063e3ff3c4d729b2395f9d /meta/recipes-devtools
parenta306b00c76ac5cec462106589f9ca32939dabf6a (diff)
downloadopenembedded-core-contrib-c37ac605c45a3355e0b57676ff8718c5c288d2f2.tar.gz
dpkg: enable nativesdk
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/dpkg/dpkg.inc5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/recipes-devtools/dpkg/dpkg.inc b/meta/recipes-devtools/dpkg/dpkg.inc
index 127d72db04..2be9d4f11e 100644
--- a/meta/recipes-devtools/dpkg/dpkg.inc
+++ b/meta/recipes-devtools/dpkg/dpkg.inc
@@ -10,6 +10,7 @@ UPSTREAM_CHECK_URI = "${DEBIAN_MIRROR}/main/d/dpkg/"
inherit autotools gettext perlnative pkgconfig perl-version update-alternatives
PERL_class-native = "${STAGING_BINDIR_NATIVE}/perl-native/perl"
+PERL_class-nativesdk = "${STAGING_BINDIR_NATIVE}/perl-native/perl"
export PERL_LIBDIR = "${libdir}/perl/${@get_perl_version(d)}"
PERL_LIBDIR_class-native = "${libdir}/perl-native/perl/${@get_perl_version(d)}"
@@ -48,12 +49,14 @@ PACKAGES =+ "dpkg-perl dselect libdpkg-perl start-stop-daemon update-alternative
RDEPENDS_${PN} = "${VIRTUAL-RUNTIME_update-alternatives}"
RDEPENDS_${PN}_class-native = ""
+RDEPENDS_${PN}_class-nativesdk = "nativesdk-${VIRTUAL-RUNTIME_update-alternatives} nativesdk-perl"
RRECOMMENDS_${PN} = "start-stop-daemon"
RRECOMMENDS_${PN}_class-native = ""
RSUGGESTS_${PN} = "apt"
RDEPENDS_dpkg-perl = "binutils libdpkg-perl make xz"
RRECOMMENDS_dpkg-perl = "gnupg"
+RRECOMMENDS_dpkg-perl_class-nativesdk = ""
RDEPENDS_dselect = "dpkg"
RSUGGESTS_dselect = "perl"
@@ -127,4 +130,4 @@ ALTERNATIVE_${PN}-start-stop-daemon = "start-stop-daemon"
ALTERNATIVE_LINK_NAME[start-stop-daemon] = "${base_sbindir}/start-stop-daemon"
ALTERNATIVE_PRIORITY = "100"
-BBCLASSEXTEND = "native"
+BBCLASSEXTEND = "native nativesdk"