From: Mikko Rapeli <mikko.rap...@bmw.de>

Fixes build with custom directory structure.

Signed-off-by: Mikko Rapeli <mikko.rap...@bmw.de>
Signed-off-by: Richard Purdie <richard.pur...@linuxfoundation.org>
(cherry picked from commit 710567168eca3d9a580f768a82db033f1cca3cec)
Signed-off-by: Steve Sakoman <st...@sakoman.com>
---
 meta/recipes-multimedia/alsa/alsa-ucm-conf_1.2.1.2.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-multimedia/alsa/alsa-ucm-conf_1.2.1.2.bb 
b/meta/recipes-multimedia/alsa/alsa-ucm-conf_1.2.1.2.bb
index 469d1f7a95..a432d5de07 100644
--- a/meta/recipes-multimedia/alsa/alsa-ucm-conf_1.2.1.2.bb
+++ b/meta/recipes-multimedia/alsa/alsa-ucm-conf_1.2.1.2.bb
@@ -13,9 +13,9 @@ SRC_URI[sha256sum] = 
"ea8a86875f4cf430d49a662a04a6d6c606c5c9d67e54cb944c4d77b245
 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}"
-- 
2.17.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#141776): 
https://lists.openembedded.org/g/openembedded-core/message/141776
Mute This Topic: https://lists.openembedded.org/mt/76387271/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to