blob: f78e3c22d054cb78552aa387ef61b1d0d7c61ee1 [file] [log] [blame]
George Hungb64af2c2020-05-14 18:48:33 +08001FILESEXTRAPATHS_prepend_gbs := "${THISDIR}/files:"
2SRC_URI_append_gbs = " file://80-gbs-nuvoton-sol.rules"
3
4do_install_append_gbs() {
5 install -m 0755 -d ${D}${sysconfdir}/${BPN}
6 rm -f ${D}${sysconfdir}/${BPN}/server.ttyVUART0.conf
7 install -m 0644 ${WORKDIR}/${BPN}.conf ${D}${sysconfdir}/
8 ln -sr ${D}${sysconfdir}/${BPN}.conf ${D}${sysconfdir}/${BPN}/server.ttyS1.conf
9
10 install -d ${D}/lib/udev/rules.d
11 rm -f ${D}/lib/udev/rules.d/80-obmc-console-uart.rules
12 install -m 0644 ${WORKDIR}/80-gbs-nuvoton-sol.rules ${D}/lib/udev/rules.d
13}