ALSA-STATE: remove specific configuration by board
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
This commit is contained in:
parent
d12a1e69d1
commit
734d81079f
|
|
@ -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 "
|
||||
|
|
|
|||
Loading…
Reference in New Issue