pulseaudio: only install hdmi_hotplug.sh for ccimx6 platforms

The ccimx6ul or ccardimx28 do not have hdmi interface, so do not install the
hdmi hotplug script.

https://jira.digi.com/browse/DEL-2654

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
This commit is contained in:
Isaac Hermida 2016-07-04 11:55:46 +02:00
parent 04c3220bd9
commit 9ec5895eb0
1 changed files with 4 additions and 2 deletions

View File

@ -1,11 +1,11 @@
FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:"
SRC_URI += "file://hdmi_hotplug.sh"
SRC_URI_append_ccimx6 = " file://hdmi_hotplug.sh"
# Do not include module-udev-detect so that module-detect is used instead
RDEPENDS_pulseaudio-server_remove = "pulseaudio-module-udev-detect"
do_install_append() {
do_install_append_ccimx6() {
install -d ${D}${sysconfdir}/udev/scripts
install -m 0755 ${WORKDIR}/hdmi_hotplug.sh ${D}${sysconfdir}/udev/scripts
@ -14,3 +14,5 @@ do_install_append() {
SUBSYSTEM=="platform", KERNEL=="*hdmi_video", ACTION=="change", RUN+="/etc/udev/scripts/hdmi_hotplug.sh"
_EOL_
}
PACKAGE_ARCH = "${MACHINE_ARCH}"