summaryrefslogtreecommitdiffstats
path: root/recipes-devtools
diff options
context:
space:
mode:
authorBastian Krause <bst@pengutronix.de>2022-03-21 11:29:28 +0100
committerEnrico Jorns <ejo@pengutronix.de>2022-03-29 17:16:31 +0200
commitda29c1f802c45512902f07bb5367b1af465c3dba (patch)
tree10f7973b580ae5445fdc5d307d131d2744865a89 /recipes-devtools
parent0f89f7ec673c9614db46bff0bcb5feb8f13d29a4 (diff)
downloadmeta-ptx-da29c1f802c45512902f07bb5367b1af465c3dba.tar.gz
meta-ptx-da29c1f802c45512902f07bb5367b1af465c3dba.tar.xz
microcom: new package
Signed-off-by: Bastian Krause <bst@pengutronix.de>
Diffstat (limited to 'recipes-devtools')
-rw-r--r--recipes-devtools/microcom/microcom_2019.01.0.bb19
1 files changed, 19 insertions, 0 deletions
diff --git a/recipes-devtools/microcom/microcom_2019.01.0.bb b/recipes-devtools/microcom/microcom_2019.01.0.bb
new file mode 100644
index 0000000..08a6e81
--- /dev/null
+++ b/recipes-devtools/microcom/microcom_2019.01.0.bb
@@ -0,0 +1,19 @@
+DESCRIPTION = "Minimalistic terminal program for communicating with devices over a serial connection"
+HOMEPAGE = "https://github.com/pengutronix/microcom"
+LICENSE = "GPL-2.0-or-later"
+LIC_FILES_CHKSUM = "file://COPYING;md5=c9f7c009791eaa4b9ca90dc4c9538d24"
+DEPENDS = "readline"
+
+SRC_URI = "https://github.com/pengutronix/microcom/releases/download/v${PV}/microcom-${PV}.tar.xz"
+SRC_URI[sha256sum] = "87e6bacc545d110ae2bc4443e29d7ccac3c5737a40056d6eef1231e3d8667210"
+
+EXTRA_OECONF = "--enable-largefile"
+
+inherit autotools update-alternatives
+
+PACKAGECONFIG ??= ""
+PACKAGECONFIG[can] = "--enable-can,--disable-can"
+
+# higher priority than busybox' microcom
+ALTERNATIVE:${PN} = "microcom"
+ALTERNATIVE_PRIORITY[microcom] = "100"