Andrew Geissler | 5082cc7 | 2023-09-11 08:41:39 -0400 | [diff] [blame] | 1 | SUMMARY = "Minimalistic terminal program for communicating with devices over a serial connection" |
| 2 | HOMEPAGE = "https://github.com/pengutronix/microcom" |
| 3 | LICENSE = "GPL-2.0-or-later" |
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=c9f7c009791eaa4b9ca90dc4c9538d24" |
| 5 | |
| 6 | SRC_URI = "https://github.com/pengutronix/microcom/releases/download/v${PV}/microcom-${PV}.tar.xz" |
| 7 | SRC_URI[sha256sum] = "ef42184bb35c9762b3e9c70748696f7478efacad8412a88aaf2d9a6a500231a1" |
| 8 | |
| 9 | DEPENDS = "readline" |
| 10 | |
| 11 | inherit autotools update-alternatives |
| 12 | |
| 13 | PACKAGECONFIG ??= "" |
| 14 | PACKAGECONFIG[can] = "--enable-can,--disable-can" |
| 15 | |
| 16 | EXTRA_OECONF = "--enable-largefile" |
| 17 | |
| 18 | # higher priority than busybox' microcom |
| 19 | ALTERNATIVE:${PN} = "microcom" |
| 20 | ALTERNATIVE_PRIORITY[microcom] = "100" |