]> code.ossystems Code Review - openembedded-core.git/commitdiff
meta: Clean up various class-native* RDEPENDS overrides
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 27 Jan 2021 16:13:29 +0000 (16:13 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 29 Jan 2021 21:21:27 +0000 (21:21 +0000)
With PACKAGES functioning more correctly for native recipes combined
with classextend improvements over the years, there are various overrides
of RDEPENDS which look unecessary now, clean them up.

There some some minor changes in dependencies, specifically:

"python3-numpy-native.do_populate_sysroot" -> "python3-native.do_populate_sysroot"
"python3-mako-native.do_populate_sysroot" -> "python3-native.do_populate_sysroot"
"itstool-native.do_populate_sysroot" -> "libxml2-native.do_populate_sysroot"

however there are already:

XXX-native.do_prepare_recipe_ssysroot -> YYY-native.do_populate_sysroot

mappings from DEPENDS so this is effectively a null op.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/dbus/dbus_1.12.20.bb
meta/recipes-devtools/autoconf/autoconf.inc
meta/recipes-devtools/automake/automake_1.16.2.bb
meta/recipes-devtools/python-numpy/python3-numpy_1.19.5.bb
meta/recipes-devtools/python/python3-mako_1.1.4.bb
meta/recipes-devtools/tcltk/tcl_8.6.11.bb
meta/recipes-extended/perl/libtimedate-perl_2.30.bb
meta/recipes-support/itstool/itstool_2.0.6.bb

index 09049301cc740d65e56e35c34d52d5e6884d482e..32e7d9cfa38e78f5542128c5468c21469ed2aa84 100644 (file)
@@ -6,8 +6,6 @@ SECTION = "base"
 require dbus.inc
 
 DEPENDS = "expat virtual/libintl autoconf-archive"
-RDEPENDS_dbus_class-native = ""
-RDEPENDS_dbus_class-nativesdk = ""
 PACKAGES += "${@bb.utils.contains('DISTRO_FEATURES', 'ptest', '${PN}-ptest', '', d)}"
 ALLOW_EMPTY_dbus-ptest = "1"
 RDEPENDS_dbus-ptest_class-target = "dbus-test-ptest"
index 787f30a097556610f545532bed41105a920af313..a4db7ca38f311f2e79322fbaf8cd610ae59b247d 100644 (file)
@@ -32,34 +32,7 @@ RDEPENDS_${PN} = "m4 gnu-config \
                  perl-module-thread-queue \
                  perl-module-threads \
                 "
-RDEPENDS_${PN}_class-native = "m4-native gnu-config-native"
-RDEPENDS_${PN}_class-nativesdk = "\
-                 nativesdk-gnu-config \
-                 nativesdk-m4 \
-                 nativesdk-perl \
-                 nativesdk-perl-module-bytes \
-                 nativesdk-perl-module-carp \
-                 nativesdk-perl-module-constant \
-                 nativesdk-perl-module-data-dumper \
-                 nativesdk-perl-module-errno \
-                 nativesdk-perl-module-exporter \
-                 nativesdk-perl-module-file-basename \
-                 nativesdk-perl-module-file-compare \
-                 nativesdk-perl-module-file-copy \
-                 nativesdk-perl-module-file-find \
-                 nativesdk-perl-module-file-glob \
-                 nativesdk-perl-module-file-path \
-                 nativesdk-perl-module-file-spec \
-                 nativesdk-perl-module-file-spec-unix \
-                 nativesdk-perl-module-file-stat \
-                 nativesdk-perl-module-getopt-long \
-                 nativesdk-perl-module-io-file \
-                 nativesdk-perl-module-overloading \
-                 nativesdk-perl-module-posix \
-                 nativesdk-perl-module-symbol \
-                 nativesdk-perl-module-thread-queue \
-                 nativesdk-perl-module-threads \
-                  "
+RDEPENDS_${PN}_class-native = "m4-native gnu-config-native hostperl-runtime-native"
 
 inherit autotools texinfo
 
index fd8ed0ed3b8b6ecac6d409bcae1ab5b2c66c4a98..08ec03462637a34d4a629224a754960ef9634cc7 100644 (file)
@@ -17,7 +17,6 @@ RDEPENDS_${PN} += "\
     perl-module-vars "
 
 RDEPENDS_${PN}_class-native = "autoconf-native hostperl-runtime-native"
-RDEPENDS_${PN}_class-nativesdk = "nativesdk-autoconf"
 
 SRC_URI += "file://python-libdir.patch \
             file://buildtest.patch \
index 5037d2a42215ec553c42d78e59b9427ce136d0e5..b619bf6f32ab88fda118f390c5d7c571d4448895 100644 (file)
@@ -53,6 +53,4 @@ RDEPENDS_${PN}-ptest += "${PYTHON_PN}-pytest \
                          ldd \
 "
 
-RDEPENDS_${PN}_class-native = ""
-
 BBCLASSEXTEND = "native nativesdk"
index 531fc6a3c0e17fce719bb375a94b38e08ed877bb..1645f37da44b99f89cc904f8d3f250d043f49e75 100644 (file)
@@ -15,6 +15,4 @@ RDEPENDS_${PN} = "${PYTHON_PN}-html \
                   ${PYTHON_PN}-threading \
 "
 
-RDEPENDS_${PN}_class-native = ""
-
 BBCLASSEXTEND = "native nativesdk"
index 74bdb098c6f48444f93013ed5880a5ecf50e295d..d01120208131b9b4b199cda79df1d7293b62bcfe 100644 (file)
@@ -69,7 +69,6 @@ ALTERNATIVE_LINK_NAME[Thread.3] = "${mandir}/man3/Thread.3"
 
 # isn't getting picked up by shlibs code
 RDEPENDS_${PN} += "tcl-lib"
-RDEPENDS_${PN}_class-native = ""
 RDEPENDS_${PN}-ptest += "libgcc"
 
 BBCLASSEXTEND = "native nativesdk"
index 7219c7d11ebbab1e2d70e20a69cf7c73565ea593..d42eadb586e6cea65a0a5e83c42e2a69ed3b19a3 100644 (file)
@@ -13,7 +13,6 @@ inherit cpan ptest-perl
 
 BBCLASSEXTEND = "native"
 
-RDEPENDS_${PN}_class-native = ""
 RDEPENDS_${PN} += "perl-module-carp perl-module-exporter perl-module-strict perl-module-time-local"
 RDEPENDS_${PN}-ptest += "perl-module-test-more perl-module-utf8"
 
index 5f358f463d016a0e6731f195ac868ebc53948f7c..c52aa7941a348e9f81afa2d6472e575e5f2730d9 100644 (file)
@@ -18,4 +18,3 @@ SRC_URI[sha256sum] = "6233cc22726a9a5a83664bf67d1af79549a298c23185d926c3677afa91
 BBCLASSEXTEND = "native nativesdk"
 
 RDEPENDS_${PN} += "libxml2-python"
-RDEPENDS_${PN}_class-native = ""