Fixes build with custom directory structure.

Signed-off-by: Mikko Rapeli <[email protected]>
---
 meta/recipes-multimedia/alsa/alsa-ucm-conf_1.2.3.bb | 6 +++---
 1 file 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}"
-- 
2.20.1

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

View/Reply Online (#141602): 
https://lists.openembedded.org/g/openembedded-core/message/141602
Mute This Topic: https://lists.openembedded.org/mt/76262910/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to