summaryrefslogtreecommitdiff
path: root/recipes/serial-utils/serial-forward.bb
blob: b03fc597dde6279b9c65cf78f8fb2764f84faece (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
DESCRIPTION = "Forward a serial using TCP/IP"
AUTHOR = "Holger 'Zecke' Freyther'"
LICENSE = "GPL"
SECTION = "console/devel"
PV = "1.0.1+gitr${SRCREV}"
PR = "r1"

SRC_URI = "${FREESMARTPHONE_GIT}/cornucopia.git/;protocol=git"
S = "${WORKDIR}/git/tools/serial_forward"
EXTRA_OEMAKE = "CC="${CC} ${LDFLAGS}""
do_compile() {
    cd ${S}
    oe_runmake
}

do_install() {
    install -d ${D}/${bindir}
    install -m 0755 ${S}/forward ${D}/${bindir}/${PN}
}