summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-rcar-gen2/recipes-multimedia/alsa/alsa-utils-config.bb11
1 files changed, 7 insertions, 4 deletions
diff --git a/meta-rcar-gen2/recipes-multimedia/alsa/alsa-utils-config.bb b/meta-rcar-gen2/recipes-multimedia/alsa/alsa-utils-config.bb
index 10cdcaf..db616ce 100644
--- a/meta-rcar-gen2/recipes-multimedia/alsa/alsa-utils-config.bb
+++ b/meta-rcar-gen2/recipes-multimedia/alsa/alsa-utils-config.bb
@@ -10,16 +10,19 @@ FILESEXTRAPATHS_prepend = "${THISDIR}/alsa-utils-config:"
SRC_URI = "file://COPYING \
"
-SRC_URI_append_porter = "file://asound.state-porter"
-SRC_URI_append_koelsch = "file://asound.state-porter"
-# SRC_URI_append_silk = "file://asound.state-silk"
+
+ASOUNDSTATEFILE_porter = "asound.state-porter"
+ASOUNDSTATEFILE_koelsch = "asound.state-porter"
+#ASOUNDSTATEFILE_silk = "asound.state-silk"
+
+SRC_URI_append = " file://${ASOUNDSTATEFILE}"
# package with no tarball
S = "${WORKDIR}"
do_install() {
install -d ${D}/${localstatedir}/lib/alsa
- install -m 0644 asound.state ${D}/${localstatedir}/lib/alsa
+ install -m 0644 ${ASOUNDSTATEFILE} ${D}/${localstatedir}/lib/alsa/asound.state
}
FILES_${PN} += "${localstatedir}"