From: Mikko Rapeli Date: Tue, 18 Aug 2020 11:31:42 +0000 (+0300) Subject: alsa-topology-conf: use ${datadir} in do_install() X-Git-Tag: uninative-2.9~30 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=9eec98b3842bb046cbd202140b9b5ccf09d20466;p=openembedded-core.git alsa-topology-conf: use ${datadir} in do_install() Fixes build with custom directory structure. Signed-off-by: Mikko Rapeli Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-multimedia/alsa/alsa-topology-conf_1.2.3.bb b/meta/recipes-multimedia/alsa/alsa-topology-conf_1.2.3.bb index fd949be8a0..3575c460e4 100644 --- a/meta/recipes-multimedia/alsa/alsa-topology-conf_1.2.3.bb +++ b/meta/recipes-multimedia/alsa/alsa-topology-conf_1.2.3.bb @@ -10,8 +10,8 @@ SRC_URI[sha256sum] = "833f99b2cbda34e0cfef867ef1d2e6a74fe276bb7fc525a573be32077f inherit allarch do_install() { - install -d ${D}/usr/share/alsa - cp -r ${S}/topology ${D}/usr/share/alsa + install -d "${D}${datadir}/alsa" + cp -r "${S}/topology" "${D}${datadir}/alsa" } PACKAGES = "${PN}"