blob: 55531d54d5ed04aa38249df90419cd9149d99f6b [file] [log] [blame]
David Wang026925d2021-08-13 11:39:20 +08001FILESEXTRAPATHS:prepend:olympus-nuvoton := "${THISDIR}/files:"
Tim Lee40c92f22020-06-18 10:15:42 +08002
David Wang026925d2021-08-13 11:39:20 +08003SRC_URI:append:olympus-nuvoton = " file://config.txt"
Tim Lee40c92f22020-06-18 10:15:42 +08004
David Wang026925d2021-08-13 11:39:20 +08005FILES:${PN}:append:olympus-nuvoton = " ${datadir}/mac-address/config.txt"
Tim Lee40c92f22020-06-18 10:15:42 +08006
David Wang026925d2021-08-13 11:39:20 +08007do_install:append:olympus-nuvoton() {
Tim Lee40c92f22020-06-18 10:15:42 +08008 install -d ${D}${datadir}/mac-address
9 install -m 0644 -D ${WORKDIR}/config.txt \
10 ${D}${datadir}/mac-address/config.txt
11}