summaryrefslogtreecommitdiff
path: root/recipes-extended/multitech/set-rs485_0.1.bb
blob: 09fe9f9c3121d2dd44292c6069407315eea71b5d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
DESCRIPTION = "Enables RS485 mode for a serial tty device"
HOMEPAGE = "http://www.multitech.net/"
PRIORITY = "optional"
LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
PR = "r0"

SRC_URI = "file://set-rs485.c"
S = "${WORKDIR}"

do_compile() {
	${CC} ${CFLAGS} ${LDFLAGS} -o set-rs485 set-rs485.c
}

do_install() {
	install -d ${D}${bindir}
	install -m 0755 set-rs485 ${D}${bindir}/
}