blob: 1b0e753a8fbf24a2c964ebb335efa7086207a884 [file] [log] [blame]
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}/${MACHINE}:"
OBMC_CONSOLE_HOST_TTY:ethanolx = "ttyS0"
OBMC_CONSOLE_HOST_TTY:daytonax = "ttyVUART0"
SRC_URI:remove = "file://${BPN}.conf"
SRC_URI:ethanolx += "file://server.ttyS0.conf"
SRC_URI:daytonax += "file://server.ttyVUART0.conf"
do_install:append() {
# Remove upstream-provided configuration
rm -rf ${D}${sysconfdir}/${BPN}
# Install the server configuration
install -m 0755 -d ${D}${sysconfdir}/${BPN}
install -m 0644 ${WORKDIR}/*.conf ${D}${sysconfdir}/${BPN}/
}