From 734d81079f34bc7a80142fd8c567be9461764972 Mon Sep 17 00:00:00 2001 From: Christophe Priouzeau Date: Thu, 7 Feb 2019 13:38:28 +0100 Subject: [PATCH] ALSA-STATE: remove specific configuration by board Signed-off-by: Christophe Priouzeau --- recipes-bsp/alsa/alsa-state-stm32mp1.bb | 33 +------------------------ 1 file changed, 1 insertion(+), 32 deletions(-) diff --git a/recipes-bsp/alsa/alsa-state-stm32mp1.bb b/recipes-bsp/alsa/alsa-state-stm32mp1.bb index 4674aeb..63479e3 100644 --- a/recipes-bsp/alsa/alsa-state-stm32mp1.bb +++ b/recipes-bsp/alsa/alsa-state-stm32mp1.bb @@ -10,10 +10,8 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384 PV = "1.0" -SRC_URI = "" - # Machine generic -SRC_URI_append_stm32mp1 = " \ +SRC_URI = " \ file://asound-stm32mp157c-ev.conf \ file://asound-stm32mp157c-dk.conf \ \ @@ -24,16 +22,6 @@ SRC_URI_append_stm32mp1 = " \ file://system-generator-alsa-conf \ " -# Machine board specific -SRC_URI_append_stm32mp1-eval = " \ - file://asound-stm32mp157c-ev.conf \ - file://asound-stm32mp157c-ev.state \ - " -SRC_URI_append_stm32mp1-disco = " \ - file://asound-stm32mp157c-dk.conf \ - file://asound-stm32mp157c-dk.state \ - " - S = "${WORKDIR}" COMPATIBLE_MACHINE = "(stm32mpcommon)" @@ -57,23 +45,4 @@ do_install() { fi } -pkg_postinst_${PN}_stm32mp1-eval() { - if test -z "$D" - then - if test -x ${sbindir}/alsactl - then - ${sbindir}/alsactl -f ${localstatedir}/lib/alsa/asound-stm32mp157c-ev.state restore - fi - fi -} -pkg_postinst_${PN}_stm32mp1-disco() { - if test -z "$D" - then - if test -x ${sbindir}/alsactl - then - ${sbindir}/alsactl -f ${localstatedir}/lib/alsa/asound-stm32mp157c-dk.state restore - fi - fi -} - FILES_${PN} = "${localstatedir}/lib/alsa/*.state ${systemd_unitdir}/system-generators ${sysconfdir}/*.conf "