George Hung | b64af2c | 2020-05-14 18:48:33 +0800 | [diff] [blame] | 1 | FILESEXTRAPATHS_prepend_gbs := "${THISDIR}/files:" |
| 2 | SRC_URI_append_gbs = " file://80-gbs-nuvoton-sol.rules" |
| 3 | |
| 4 | do_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 | } |