mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 15:52:39 +02:00
alsa-ucm-conf: use ${datadir} in do_install()
Fixes build with custom directory structure. (From OE-Core rev: da9571716c40fd8129e8c8f24f07302458b43e31) Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 710567168eca3d9a580f768a82db033f1cca3cec) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
f9f53e5d54
commit
30004e7cfb
@@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user