blob: 8ffa93b6895ea65f61cddfcbd630d584481236fa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
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:append:ethanolx = " file://server.ttyS0.conf"
SRC_URI:append: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}/
}
|