diff options
| author | Stefan Schmidt <stefan.schmidt@huawei.com> | 2021-03-18 20:33:19 +0100 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2021-03-18 12:43:41 -0700 |
| commit | 3591919feb92f7879db81a09bed11325cbad26e4 (patch) | |
| tree | 46c0a0da906409cee37791de4e231759bc146b68 | |
| parent | ad220639ddb67648d3eb9ddf536613d5999c1e2a (diff) | |
| download | meta-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>
| -rw-r--r-- | meta-oe/recipes-core/plymouth/plymouth_0.9.5.bb | 3 |
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+" | |||
| 13 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" | 13 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" |
| 14 | 14 | ||
| 15 | DEPENDS = "libcap libpng cairo dbus udev" | 15 | DEPENDS = "libcap libpng cairo dbus udev" |
| 16 | DEPENDS_append_libc-musl = " musl-rpmatch" | ||
| 16 | PROVIDES = "virtual/psplash" | 17 | PROVIDES = "virtual/psplash" |
| 17 | RPROVIDES_${PN} = "virtual-psplash virtual-psplash-support" | 18 | RPROVIDES_${PN} = "virtual-psplash virtual-psplash-support" |
| 18 | 19 | ||
| @@ -42,6 +43,8 @@ LOGO ??= "${datadir}/plymouth/bizcom.png" | |||
| 42 | 43 | ||
| 43 | inherit autotools pkgconfig systemd gettext | 44 | inherit autotools pkgconfig systemd gettext |
| 44 | 45 | ||
| 46 | LDFLAGS_append_libc-musl = " -lrpmatch" | ||
| 47 | |||
| 45 | do_install_append() { | 48 | do_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" |
