1
0
mirror of https://git.yoctoproject.org/meta-arm synced 2026-05-30 12:30:14 +00:00

OpenCSD: Support for Arm CoreSight decode lib

This patch is to add recipe for OpenCSD, which is an open source
CoreSight trace decode library and utility.

Also create a new folder recipes-devtools under meta-arm to place
this recipe.

Signed-off-by: Leo Yan <leo.yan@linaro.org>
Reviewed-by: Bertrand Marquis <bertrand.marquis@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
Leo Yan
2020-03-18 07:19:01 +00:00
committed by Jon Mason
parent 3108c6debc
commit 46b2d238ca
@@ -0,0 +1,31 @@
SUMMARY = "OpenCSD - An open source CoreSight(tm) Trace Decode library"
HOMEPAGE = "https://github.com/Linaro/OpenCSD"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=ad8cb685eb324d2fa2530b985a43f3e5"
SRC_URI = "git://github.com/Linaro/OpenCSD;protocol=http;branch=master"
SRCREV = "03c194117971e4ad0598df29395757ced2e6e9bd"
S = "${WORKDIR}/git"
COMPATIBLE_HOST = "(x86_64.*|aarch64.*)-linux"
EXTRA_OEMAKE = "ARCH='${TARGET_ARCH}' \
CROSS_COMPILE='${TARGET_SYS}-' \
CC='${CC}' \
CXX='${CXX}' \
LIB='${AR}' \
LINKER='${CXX}' \
LINUX64=1 \
DEBUG=1 \
"
do_compile() {
oe_runmake -C ${S}/decoder/build/linux ${EXTRA_OEMAKE}
}
do_install() {
oe_runmake -C ${S}/decoder/build/linux PREFIX=${D}/usr install
}
BBCLASSEXTEND = "native"