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-27 08:25:50 +0100
commitf9f53e5d546a2636466fc241135e2bd5d54a4c22 (patch)
tree3b403466c1e563027a8b2a04194a73828fcb8852 /meta
parent99d49ebc21491cae08979791ef3a43b295800d20 (diff)
downloadpoky-f9f53e5d546a2636466fc241135e2bd5d54a4c22.tar.gz
alsa-topology-conf: use ${datadir} in do_install()
Fixes build with custom directory structure. (From OE-Core rev: 35b3e2365fe0a361d62c1d9abebd40de9e27af25) Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 9eec98b3842bb046cbd202140b9b5ccf09d20466) Signed-off-by: Steve Sakoman <steve@sakoman.com> 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.1.bb4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-multimedia/alsa/alsa-topology-conf_1.2.1.bb b/meta/recipes-multimedia/alsa/alsa-topology-conf_1.2.1.bb
index add1f309ec..5101cc7b7a 100644
--- a/meta/recipes-multimedia/alsa/alsa-topology-conf_1.2.1.bb
+++ b/meta/recipes-multimedia/alsa/alsa-topology-conf_1.2.1.bb
@@ -13,8 +13,8 @@ SRC_URI[sha256sum] = "354a43f4031c98bef1349ac722d83b2603ef439f81a1ab1eba8814c282
13inherit allarch 13inherit allarch
14 14
15do_install() { 15do_install() {
16 install -d ${D}/usr/share/alsa 16 install -d "${D}${datadir}/alsa"
17 cp -r ${S}/topology ${D}/usr/share/alsa 17 cp -r "${S}/topology" "${D}${datadir}/alsa"
18} 18}
19 19
20PACKAGES = "${PN}" 20PACKAGES = "${PN}"