blob: bd408198936565e34f920287673a4133fae9319d (
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
|
SUMMARY = "Soft Parser Configuration tool"
DESCRIPTION = "Soft Parser Configuration tool for the DPAA Frame Manager."
HOMEPAGE = "https://github.com/nxp-qoriq/spc"
SECTION = "base"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=163b09a1c249a6ff2b28da1ceca2e0a8"
DEPENDS = "fmlib libxml2 tclap"
SRC_URI = "git://github.com/nxp-qoriq/spc;protocol=https;nobranch=1"
SRCREV = "b8d69580e5c6aeeb9f1354ee2faed6e0134eaef4"
EXTRA_OEMAKE = 'FMD_USPACE_HEADER_PATH="${STAGING_INCDIR}/fmd" \
FMD_USPACE_LIB_PATH="${STAGING_LIBDIR}" LIBXML2_HEADER_PATH="${STAGING_INCDIR}/libxml2" \
TCLAP_HEADER_PATH="${STAGING_INCDIR}" '
EXTRA_OEMAKE_PLATFORM ?= ""
do_compile () {
oe_runmake -C source
}
do_install () {
install -d ${D}/${bindir}
install -m 755 ${S}/source/spc ${D}/${bindir}
install -d ${D}${sysconfdir}/spc/config
install -m 644 ${S}${sysconfdir}/spc/config/* ${D}${sysconfdir}/spc/config
}
PARALLEL_MAKE = ""
PACKAGE_ARCH = "${MACHINE_SOCARCH}"
COMPATIBLE_MACHINE = "(qoriq-arm64)"
|