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 9eec98b3842bb046cbd202140b9b5ccf09d20466)
Signed-off-by: Steve Sakoman <st...@sakoman.com>
---
 meta/recipes-multimedia/alsa/alsa-topology-conf_1.2.1.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-multimedia/alsa/alsa-topology-conf_1.2.1.bb 
b/meta/recipes-multimedia/alsa/alsa-topology-conf_1.2.1.bb
index add1f309ec..5101cc7b7a 100644
--- a/meta/recipes-multimedia/alsa/alsa-topology-conf_1.2.1.bb
+++ b/meta/recipes-multimedia/alsa/alsa-topology-conf_1.2.1.bb
@@ -13,8 +13,8 @@ SRC_URI[sha256sum] = 
"354a43f4031c98bef1349ac722d83b2603ef439f81a1ab1eba8814c282
 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.17.1

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

View/Reply Online (#141775): 
https://lists.openembedded.org/g/openembedded-core/message/141775
Mute This Topic: https://lists.openembedded.org/mt/76387268/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