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 | |
| 3 | SRC_URI += "file://ttyS2.conf" |
| 4 | |
Patrick Williams | 6f74664 | 2021-08-06 07:40:55 -0500 | [diff] [blame] | 5 | SRC_URI:append:yosemitev2 += "file://ttyS0.conf" |
| 6 | SRC_URI:append:yosemitev2 += "file://ttyS1.conf" |
| 7 | SRC_URI:append:yosemitev2 += "file://ttyS3.conf" |
Kumar Thangavel | 06911e3 | 2021-02-17 12:30:20 +0530 | [diff] [blame] | 8 | |
Patrick Williams | 6f74664 | 2021-08-06 07:40:55 -0500 | [diff] [blame] | 9 | do_install:append() { |
Kumar Thangavel | 06911e3 | 2021-02-17 12:30:20 +0530 | [diff] [blame] | 10 | |
| 11 | # Install the configurations |
| 12 | install -m 0755 -d ${D}${sysconfdir}/${BPN} |
| 13 | install -m 0644 ${WORKDIR}/*.conf ${D}${sysconfdir}/${BPN}/ |
| 14 | |
| 15 | # Remove upstream-provided default configuration |
| 16 | rm -f ${D}${sysconfdir}/${BPN}/ttyVUART0.conf |
| 17 | } |