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
committerSteve Sakoman <steve@sakoman.com>2020-08-19 04:08:38 -1000
commit35b3e2365fe0a361d62c1d9abebd40de9e27af25 (patch)
tree79911022dd2663c49fdf2751a2957c2a75c7a90a /meta/recipes-multimedia/alsa
parent6392d99de30e74c41b289c43fd98601e6cbc34ab (diff)
downloadopenembedded-core-contrib-35b3e2365fe0a361d62c1d9abebd40de9e27af25.tar.gz
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> (cherry picked from commit 9eec98b3842bb046cbd202140b9b5ccf09d20466) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'meta/recipes-multimedia/alsa')
-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
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}"