blob: 8ae2e609ecd0ab9d22a9b94a3ed121caf67a2f7d [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 Williams6f746642021-08-06 07:40:55 -05005SRC_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}