summaryrefslogtreecommitdiffstats
path: root/meta-oe
diff options
context:
space:
mode:
authorStefan Schmidt <stefan.schmidt@huawei.com>2021-03-18 20:33:19 +0100
committerKhem Raj <raj.khem@gmail.com>2021-03-18 12:43:41 -0700
commit3591919feb92f7879db81a09bed11325cbad26e4 (patch)
tree46c0a0da906409cee37791de4e231759bc146b68 /meta-oe
parentad220639ddb67648d3eb9ddf536613d5999c1e2a (diff)
downloadmeta-openembedded-3591919feb92f7879db81a09bed11325cbad26e4.tar.gz
plymouth_0.9.5.bb: allow building with musl libc
Plymouth uses rpmatch() which is not provided by musl. Instead we use the standalone rpmatch implementation and add dependencies and LDFLAGS adjustment for musl libs based builds. Signed-off-by: Stefan Schmidt <stefan.schmidt@huawei.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe')
-rw-r--r--meta-oe/recipes-core/plymouth/plymouth_0.9.5.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-oe/recipes-core/plymouth/plymouth_0.9.5.bb b/meta-oe/recipes-core/plymouth/plymouth_0.9.5.bb
index 04106fcc9b..11fb30d480 100644
--- a/meta-oe/recipes-core/plymouth/plymouth_0.9.5.bb
+++ b/meta-oe/recipes-core/plymouth/plymouth_0.9.5.bb
@@ -13,6 +13,7 @@ LICENSE = "GPLv2+"
13LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" 13LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
14 14
15DEPENDS = "libcap libpng cairo dbus udev" 15DEPENDS = "libcap libpng cairo dbus udev"
16DEPENDS_append_libc-musl = " musl-rpmatch"
16PROVIDES = "virtual/psplash" 17PROVIDES = "virtual/psplash"
17RPROVIDES_${PN} = "virtual-psplash virtual-psplash-support" 18RPROVIDES_${PN} = "virtual-psplash virtual-psplash-support"
18 19
@@ -42,6 +43,8 @@ LOGO ??= "${datadir}/plymouth/bizcom.png"
42 43
43inherit autotools pkgconfig systemd gettext 44inherit autotools pkgconfig systemd gettext
44 45
46LDFLAGS_append_libc-musl = " -lrpmatch"
47
45do_install_append() { 48do_install_append() {
46 # Remove /var/run from package as plymouth will populate it on startup 49 # Remove /var/run from package as plymouth will populate it on startup
47 rm -fr "${D}${localstatedir}/run" 50 rm -fr "${D}${localstatedir}/run"