George Hung | 92d5832 | 2020-08-03 16:45:23 +0800 | [diff] [blame] | 1 | FILESEXTRAPATHS_prepend_gbs := "${THISDIR}/${PN}:" |
| 2 | SRC_URI_append_gbs = " file://config-margin.json \ |
| 3 | file://read-margin-temp-wait.sh \ |
| 4 | " |
| 5 | |
| 6 | FILES_${PN}_append_gbs = " ${bindir}/read-margin-temp-wait.sh" |
| 7 | FILES_${PN}_append_gbs = " ${datadir}/read-margin-temp/config-margin.json" |
| 8 | |
| 9 | do_install_append_gbs() { |
| 10 | install -d ${D}${bindir} |
| 11 | install -m 0755 ${WORKDIR}/read-margin-temp-wait.sh ${D}${bindir} |
| 12 | |
| 13 | install -d ${D}${datadir}/read-margin-temp |
| 14 | install -m 0644 -D ${WORKDIR}/config-margin.json \ |
| 15 | ${D}${datadir}/read-margin-temp/config-margin.json |
| 16 | } |