blob: 3ee26b1efe5c763e9e328f319485bf0dc5e39c56 [file] [log] [blame]
Patrick Williams6f746642021-08-06 07:40:55 -05001FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
Kumar Thangavel06911e32021-02-17 12:30:20 +05302
3SRC_URI += "file://ttyS2.conf"
4
Patrick Williamsd5c716d2022-02-17 07:30:57 -06005SRC_URI:append:yosemitev2 = " file://ttyS0.conf"
6SRC_URI:append:yosemitev2 = " file://ttyS1.conf"
7SRC_URI:append:yosemitev2 = " file://ttyS3.conf"
Kumar Thangavel06911e32021-02-17 12:30:20 +05308
Patrick Williams6f746642021-08-06 07:40:55 -05009do_install:append() {
Kumar Thangavel06911e32021-02-17 12:30:20 +053010
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}