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" |
| 4 | LICENSE = "GPLv2 & GPLv2+ " |
| 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 | |
| 21 | do_compile_prepend () { |
| 22 | oe_runmake clean |
| 23 | } |
| 24 | |
| 25 | |
| 26 | do_install() { |
| 27 | install -d ${D}/${bindir} |
| 28 | install sethdlc ${D}/${bindir}/ |
| 29 | } |
| 30 | |
| 31 | FILES_${PN} += "${bindir}/sethdlc" |