]> code.ossystems Code Review - openembedded-core.git/commitdiff
dummy-sdk-package: Add DUMMYPROVIDES_PACKAGES
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 23 Nov 2019 14:34:35 +0000 (14:34 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 28 Nov 2019 21:10:17 +0000 (21:10 +0000)
We're about to need to use this variable in the main include file so
restructure the users of it to all set it appropriately.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/meta/dummy-sdk-package.inc
meta/recipes-core/meta/nativesdk-buildtools-perl-dummy.bb
meta/recipes-core/meta/nativesdk-sdk-provides-dummy.bb
meta/recipes-core/meta/target-sdk-provides-dummy.bb

index 4d653706b13eb4c059a5a80deeb6cdf60441bcad..0d15a37c356292f6bef4203f310a69d8ffdbecb0 100644 (file)
@@ -17,6 +17,9 @@ ALLOW_EMPTY_${PN} = "1"
 
 PR[vardeps] += "DUMMYPROVIDES"
 
+DUMMYPROVIDES_PACKAGES ??= ""
+DUMMYPROVIDES += "${@' '.join([multilib_pkg_extend(d, pkg) for pkg in d.getVar('DUMMYPROVIDES_PACKAGES').split()])}"
+
 python populate_packages_prepend() {
     p = d.getVar("PN")
     d.appendVar("RPROVIDES_%s" % p, "${DUMMYPROVIDES}")
index 6a8748acdfe3fc9f1db43729efccbf38e334d868..5bc11b9daf1e026f3a6f33a15d70e0d67e883500 100644 (file)
@@ -1,6 +1,6 @@
 DUMMYARCH = "buildtools-dummy-${SDKPKGSUFFIX}"
 
-DUMMYPROVIDES = "\
+DUMMYPROVIDES_PACKAGES = "\
     nativesdk-perl \
     nativesdk-libxml-parser-perl \
     nativesdk-perl-module-bytes \
@@ -21,6 +21,9 @@ DUMMYPROVIDES = "\
     nativesdk-perl-module-posix \
     nativesdk-perl-module-thread-queue \
     nativesdk-perl-module-threads \
+"
+
+DUMMYPROVIDES = "\
     /usr/bin/perl \
     "
 
index b891efa5ef8f9499503e15bb8e038dcd3dc4db0c..29f4dd36339b44fac2121372035fabf030039a1f 100644 (file)
@@ -1,10 +1,13 @@
 DUMMYARCH = "sdk-provides-dummy-${SDKPKGSUFFIX}"
 
+DUMMYPROVIDES_PACKAGES = "\
+    pkgconfig \
+"
+
 # Add /bin/sh?
 DUMMYPROVIDES = "\
     /bin/bash \
     /usr/bin/env \
-    pkgconfig \
     libGL.so()(64bit) \
     libGL.so \
 "
index 87b8bfab9c453dfcfd0641f63f45db6d1e97e0be..e3beeb796c716e916618806b191fcc131c48c5a4 100644 (file)
@@ -48,7 +48,6 @@ DUMMYPROVIDES_PACKAGES = "\
 "
 
 DUMMYPROVIDES = "\
-    ${@' '.join([multilib_pkg_extend(d, pkg) for pkg in d.getVar('DUMMYPROVIDES_PACKAGES').split()])} \
     /bin/sh \
     /bin/bash \
     /usr/bin/env \