summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia/alsa
diff options
context:
space:
mode:
authorMikko Rapeli <mikko.rapeli@bmw.de>2020-08-18 14:31:42 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-08-19 10:56:16 +0100
commit9eec98b3842bb046cbd202140b9b5ccf09d20466 (patch)
treee86bfece29685b8f540a482315b2b3965cfc4469 /meta/recipes-multimedia/alsa
parentefe8d76810973e7032e729beee106b8acc39b8ed (diff)
downloadopenembedded-core-contrib-9eec98b3842bb046cbd202140b9b5ccf09d20466.tar.gz
openembedded-core-contrib-9eec98b3842bb046cbd202140b9b5ccf09d20466.tar.bz2
openembedded-core-contrib-9eec98b3842bb046cbd202140b9b5ccf09d20466.zip
alsa-topology-conf: use ${datadir} in do_install()
Fixes build with custom directory structure. Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia/alsa')
-rw-r--r--meta/recipes-multimedia/alsa/alsa-topology-conf_1.2.3.bb4
1 files changed, 2 insertions, 2 deletions
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}"