Patrick Williams | 6f74664 | 2021-08-06 07:40:55 -0500 | [diff] [blame] | 1 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" |
Kumar Thangavel | 06911e3 | 2021-02-17 12:30:20 +0530 | [diff] [blame] | 2 | |
Kumar Thangavel | 03fcd26 | 2022-06-10 16:11:27 +0530 | [diff] [blame] | 3 | SRC_URI:append:fb-compute-singlehost = " file://ttyS2.conf" |
Kumar Thangavel | 06911e3 | 2021-02-17 12:30:20 +0530 | [diff] [blame] | 4 | |
Kumar Thangavel | 03fcd26 | 2022-06-10 16:11:27 +0530 | [diff] [blame] | 5 | SRC_URI:append:fb-compute-multihost = " file://ttyS0.conf \ |
| 6 | file://ttyS1.conf \ |
| 7 | file://ttyS2.conf \ |
| 8 | file://ttyS3.conf " |
| 9 | |
Kumar Thangavel | 06911e3 | 2021-02-17 12:30:20 +0530 | [diff] [blame] | 10 | |
Patrick Williams | 6f74664 | 2021-08-06 07:40:55 -0500 | [diff] [blame] | 11 | do_install:append() { |
Kumar Thangavel | 06911e3 | 2021-02-17 12:30:20 +0530 | [diff] [blame] | 12 | |
| 13 | # Install the configurations |
| 14 | install -m 0755 -d ${D}${sysconfdir}/${BPN} |
| 15 | install -m 0644 ${WORKDIR}/*.conf ${D}${sysconfdir}/${BPN}/ |
| 16 | |
| 17 | # Remove upstream-provided default configuration |
| 18 | rm -f ${D}${sysconfdir}/${BPN}/ttyVUART0.conf |
| 19 | } |