summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorMikko Rapeli <mikko.rapeli@bmw.de>2020-08-18 14:31:43 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-08-19 10:57:44 +0100
commitb5a1389b472fa729456d5108e42cbf4d8794d39d (patch)
treed4915a9e99ac480f2660686b7595454fa133e977 /meta
parent53498669356ab4b4abba0f7ed9eec27585035108 (diff)
downloadpoky-b5a1389b472fa729456d5108e42cbf4d8794d39d.tar.gz
alsa-ucm-conf: use ${datadir} in do_install()
Fixes build with custom directory structure. (From OE-Core rev: 710567168eca3d9a580f768a82db033f1cca3cec) 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-ucm-conf_1.2.3.bb6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-multimedia/alsa/alsa-ucm-conf_1.2.3.bb b/meta/recipes-multimedia/alsa/alsa-ucm-conf_1.2.3.bb
index 19eeabff78..7be0df8856 100644
--- a/meta/recipes-multimedia/alsa/alsa-ucm-conf_1.2.3.bb
+++ b/meta/recipes-multimedia/alsa/alsa-ucm-conf_1.2.3.bb
@@ -10,9 +10,9 @@ SRC_URI[sha256sum] = "1bc24da04bb27a75e323c9f0fb03e44705b6bb8a8baf255b94b41d457d
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}/ucm ${D}/usr/share/alsa 14 cp -r "${S}/ucm" "${D}${datadir}/alsa"
15 cp -r ${S}/ucm2 ${D}/usr/share/alsa 15 cp -r "${S}/ucm2" "${D}${datadir}/alsa"
16} 16}
17 17
18PACKAGES = "${PN}" 18PACKAGES = "${PN}"