Fixes build with custom directory structure.

Signed-off-by: Mikko Rapeli <[email protected]>
---
 meta/recipes-multimedia/alsa/alsa-topology-conf_1.2.3.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-multimedia/alsa/alsa-topology-conf_1.2.3.bb 
b/meta/recipes-multimedia/alsa/alsa-topology-conf_1.2.3.bb
index fd949be8a0..3575c460e4 100644
--- a/meta/recipes-multimedia/alsa/alsa-topology-conf_1.2.3.bb
+++ b/meta/recipes-multimedia/alsa/alsa-topology-conf_1.2.3.bb
@@ -10,8 +10,8 @@ SRC_URI[sha256sum] = 
"833f99b2cbda34e0cfef867ef1d2e6a74fe276bb7fc525a573be32077f
 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}"
-- 
2.20.1

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

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

Reply via email to