summaryrefslogtreecommitdiffstats
path: root/recipes-extended/hyperrelay/hyperrelay_git.bb
blob: affc9417f7eacd93906a3ac6098a2b3ee91aca68 (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
DESCRIPTION = "Userspace proxy agent for Code Warrrior HyperTrk"
LICENSE = "Freescale-EULA"
LIC_FILES_CHKSUM = "file://EULA;md5=c9ae442cf1f9dd6c13dfad64b0ffe73f"

SRC_URI = "git://git.freescale.com/ppc/sdk/hyperrelay.git;branch=sdk-v2.0.x"
SRCREV = "925af97359c2b86399561f1f97f2cb6ca0ccd344"

S = "${WORKDIR}/git"

CFLAGS += "\
    -Wall \
    -Wundef \
    -Wstrict-prototypes \
    -Wno-trigraphs \
    -fno-strict-aliasing \
    -fno-common \
    -O2 \
    -g \
    -fmessage-length=0 \
    -MMD \
    -MP \
    -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" \
"

LDFLAGS_prepend = " -lpthread "

do_install() {
    install -d ${D}${bindir}
    oe_runmake install DESTDIR=${D}
}

COMPATIBLE_MACHINE = "(qoriq-ppc)"
PACKAGE_ARCH = "${MACHINE_SOCARCH}"