summaryrefslogtreecommitdiffstats
path: root/meta
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:57:44 +0100
commit53498669356ab4b4abba0f7ed9eec27585035108 (patch)
treefcca09ae4fe5afafe80fb2db0b31063b11b95592 /meta
parent49865a6061276fd887f508caa2ac9c6a04f45b8a (diff)
downloadpoky-53498669356ab4b4abba0f7ed9eec27585035108.tar.gz
alsa-topology-conf: use ${datadir} in do_install()
Fixes build with custom directory structure. (From OE-Core rev: 9eec98b3842bb046cbd202140b9b5ccf09d20466) Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-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
10inherit allarch 10inherit allarch
11 11
12do_install() { 12do_install() {
13 install -d ${D}/usr/share/alsa 13 install -d "${D}${datadir}/alsa"
14 cp -r ${S}/topology ${D}/usr/share/alsa 14 cp -r "${S}/topology" "${D}${datadir}/alsa"
15} 15}
16 16
17PACKAGES = "${PN}" 17PACKAGES = "${PN}"