Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 1 | DESCRIPTION = "set Linux HDLC packet radio modem driver port information" |
| 2 | HOMEPAGE = "https://www.kernel.org/pub/linux/utils/net/hdlc" |
| 3 | SECTION = "comm" |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 4 | LICENSE = "GPL-2.0-only & GPL-2.0-or-later " |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 5 | LIC_FILES_CHKSUM = "file://sethdlc.c;endline=10;md5=90f936879e9f8b755a138aeb348782eb" |
| 6 | |
| 7 | |
Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame] | 8 | SRC_URI = "https://www.kernel.org/pub/linux/utils/net/hdlc/${BP}.tar.gz \ |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 9 | file://sethdlc-fix-host-contamination.patch \ |
| 10 | " |
| 11 | SRC_URI[md5sum] = "9016878156a5eadb06c0bae71cc5c9ab" |
| 12 | SRC_URI[sha256sum] = "21b1e2e1cb0e288b0ec8fcfd9fed449914e0f8e6fc273706bd5b3d4f6ab6b04e" |
| 13 | |
| 14 | |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 15 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
| 16 | DEPENDS = "virtual/kernel" |
| 17 | |
| 18 | EXTRA_OEMAKE="CROSS_COMPILE=${TARGET_PREFIX} CC='${CC} ${LDFLAGS}' \ |
| 19 | KERNEL_DIR=${STAGING_KERNEL_DIR} " |
| 20 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 21 | do_compile:prepend () { |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 22 | oe_runmake clean |
| 23 | } |
| 24 | |
| 25 | |
| 26 | do_install() { |
| 27 | install -d ${D}/${bindir} |
| 28 | install sethdlc ${D}/${bindir}/ |
| 29 | } |
| 30 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 31 | FILES:${PN} += "${bindir}/sethdlc" |