summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNorbert Wesp <n.wesp@phytec.de>2019-10-17 12:48:53 (GMT)
committerStefan Müller-Klieser <s.mueller-klieser@phytec.de>2019-10-21 14:56:11 (GMT)
commit21029b85f8a77f1eb999f6db7825d94cb42cfd71 (patch)
tree88e2d696235452fd32da76b9f82acfb881a1c4ad
parent1dc996b42967146c64e078b0b66f68a3e173e8c0 (diff)
downloadmeta-phytec-21029b85f8a77f1eb999f6db7825d94cb42cfd71.zip
meta-phytec-21029b85f8a77f1eb999f6db7825d94cb42cfd71.tar.bz2
recipes-devtool: add phytec-eeprom-flashtool recipe
Signed-off-by: Norbert Wesp <n.wesp@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
-rw-r--r--recipes-devtools/eeprom-flashtool/phytec-eeprom-flashtool_1.01.02.bb25
1 files changed, 25 insertions, 0 deletions
diff --git a/recipes-devtools/eeprom-flashtool/phytec-eeprom-flashtool_1.01.02.bb b/recipes-devtools/eeprom-flashtool/phytec-eeprom-flashtool_1.01.02.bb
new file mode 100644
index 0000000..3bb05bc
--- /dev/null
+++ b/recipes-devtools/eeprom-flashtool/phytec-eeprom-flashtool_1.01.02.bb
@@ -0,0 +1,25 @@
+DESCRIPTION = "This tool is intended for reading from and writing to PHYTEC SOM EEPROM chips. \
+Use of this tool requires a properly-formatted configuration file for each \
+target PHYTEC platform (PCM-057.yml for PCM-057 boards, for example). \
+By default, this tool looks for configuration files in a 'configs' subdirectory \
+to where the script is currently located."
+HOMEPAGE = "www.phytec.com"
+SECTION = "devel"
+
+S="${WORKDIR}/git"
+
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://COPYING.MIT;md5=1117940313875d7598ccbb05f20129a7"
+
+SRC_URI = "git://git.phytec.de/phytec-eeprom-flashtool.git"
+SRCREV = "2042c88d05ef29cecc3c4c17b63edf021bc3ca1b"
+
+do_install () {
+ install -d ${D}${bindir}/${PN}
+ install -m 0644 ${S}/README ${D}${bindir}/${PN}
+ install -m 0755 ${S}/phytec_eeprom_flashtool.py ${D}${bindir}/${PN}
+ install -d ${D}${bindir}/${PN}/configs
+ install -m 0644 ${S}/configs/* ${D}${bindir}/${PN}/configs
+}
+
+RDEPENDS_${PN} = "python3-pyyaml"