summaryrefslogtreecommitdiffstats
path: root/recipes-extended/ofp/ofp_git.bb
blob: 47e54315477b190b0350e1ca9e6d5017a8f92cb3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
SUMMARY = "An open source user space fast path TCP/IP stack" 
DESCRIPTION = "openfastpath is used to enable accelerated routing/forwarding for IPv4 and IPv6, \
               tunneling and termination for a variety of protocols."
HOMEPAGE = "http://www.openfastpath.org"
SECTION = "console/network"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=fbe4957c430eed6cc20521d4eb429fae"

SRC_URI = "git://github.com/nxp-qoriq/ofp;protocol=https;nobranch=1"

SRCREV = "fe66f4659f7d356f7aa73a8fb32fcf67c6cf1108"

S = "${WORKDIR}/git"

inherit autotools-brokensep pkgconfig

PACKAGE_ARCH = "${MACHINE_ARCH}"

DEPENDS = "odp"

EXTRA_OECONF = " \
    --prefix=/usr \
    --libdir=${libdir} \
    --host=${SIMPLE_TARGET_SYS} \
    --with-odp=${STAGING_DIR_TARGET} \
"

do_configure () {
    export SIMPLE_TARGET_SYS="$(echo ${TARGET_SYS} | sed s:${TARGET_VENDOR}::g)"

    ${S}/bootstrap
    ${S}/configure ${EXTRA_OECONF}
}

FILES:${PN} += "/usr/ofp/bin"
FILES:${PN}-dbg += "/usr/ofp/bin/.debug"
COMPATIBLE_MACHINE = "(ls2088a|ls1088a)"