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

inherit fsl-eula-unpack

SRC_URI = "git://git.freescale.com/ppc/sdk/hyperrelay.git;fsl-eula=true;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}"
INSANE_SKIP_${PN} = "ldflags"