summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia/alsa
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:56:16 +0100
commit710567168eca3d9a580f768a82db033f1cca3cec (patch)
tree91568826dde21bb58d0aedc4509890b226edd4c8 /meta/recipes-multimedia/alsa
parent9eec98b3842bb046cbd202140b9b5ccf09d20466 (diff)
downloadopenembedded-core-contrib-710567168eca3d9a580f768a82db033f1cca3cec.tar.gz
openembedded-core-contrib-710567168eca3d9a580f768a82db033f1cca3cec.tar.bz2
openembedded-core-contrib-710567168eca3d9a580f768a82db033f1cca3cec.zip
alsa-ucm-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-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
inherit allarch
do_install() {
- install -d ${D}/usr/share/alsa
- cp -r ${S}/ucm ${D}/usr/share/alsa
- cp -r ${S}/ucm2 ${D}/usr/share/alsa
+ install -d "${D}${datadir}/alsa"
+ cp -r "${S}/ucm" "${D}${datadir}/alsa"
+ cp -r "${S}/ucm2" "${D}${datadir}/alsa"
}
PACKAGES = "${PN}"