blob: 16eaf62f780755cb92e42dcad21f0c91137e8b0f [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001SUMMARY = "Application to verify operation of serial ports"
Andrew Geissler89770b02020-06-13 10:40:47 -05002HOMEPAGE = "https://github.com/nsekhar/serialcheck"
Patrick Williamsb48b7b42016-08-17 15:04:38 -05003LICENSE = "GPLv2"
4LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
5
Andrew Geissler89770b02020-06-13 10:40:47 -05006SRC_URI = " \
7 git://github.com/nsekhar/serialcheck.git \
8"
Patrick Williamsb48b7b42016-08-17 15:04:38 -05009
Andrew Geissler89770b02020-06-13 10:40:47 -050010SRCREV = "45eb2ffa5378396e85432872833890b0a1cba872"
Patrick Williamsb48b7b42016-08-17 15:04:38 -050011
12S = "${WORKDIR}/git"
13
Andrew Geissler89770b02020-06-13 10:40:47 -050014inherit autotools
Patrick Williamsb48b7b42016-08-17 15:04:38 -050015
Andrew Geissler89770b02020-06-13 10:40:47 -050016DEPENDS_append_libc-musl = " argp-standalone"
17EXTRA_OEMAKE_append_libc-musl = " LIBS='-largp'"
18
19PACKAGE_BEFORE_PN += "${PN}-stats"
Patrick Williamsb48b7b42016-08-17 15:04:38 -050020
21do_install() {
22 install -d ${D}${bindir}
Andrew Geissler89770b02020-06-13 10:40:47 -050023 install ${B}/serialcheck ${D}${bindir}
24 install ${B}/serialstats ${D}${bindir}
Patrick Williamsb48b7b42016-08-17 15:04:38 -050025 install -d ${D}${docdir}/${BP}
Andrew Geissler89770b02020-06-13 10:40:47 -050026 install ${S}/README ${D}${docdir}/${BP}
Patrick Williamsb48b7b42016-08-17 15:04:38 -050027}
Andrew Geissler89770b02020-06-13 10:40:47 -050028
29FILES_${PN}-stats = "${bindir}/serialstats"
Patrick Williamsb48b7b42016-08-17 15:04:38 -050030
31BBCLASSEXTEND = "nativesdk"