blob: fe0e346724d872be5b1aab122e949accd3f257f5 [file] [log] [blame]
FILESEXTRAPATHS_prepend_olympus-nuvoton := "${THISDIR}/${PN}:"
SRC_URI_append_olympus-nuvoton = " file://80-olympus-nuvoton-sol.rules"
do_install_append_olympus-nuvoton() {
install -m 0755 -d ${D}${sysconfdir}/${BPN}
rm -f ${D}${sysconfdir}/${BPN}/server.ttyVUART0.conf
install -m 0644 ${WORKDIR}/${BPN}.conf ${D}${sysconfdir}/
ln -sr ${D}${sysconfdir}/${BPN}.conf ${D}${sysconfdir}/${BPN}/server.ttyS2.conf
install -d ${D}/lib/udev/rules.d
rm -f ${D}/lib/udev/rules.d/80-obmc-console-uart.rules
install -m 0644 ${WORKDIR}/80-olympus-nuvoton-sol.rules ${D}/lib/udev/rules.d
}