[oe-commits] [meta-openembedded] 06/11: OpenCSD: Support for Arm CoreSight decode lib

git at git.openembedded.org git at git.openembedded.org
Wed Mar 4 17:20:00 UTC 2020


This is an automated email from the git hooks/post-receive script.

khem pushed a commit to branch master-next
in repository meta-openembedded.

commit f8c5acdae8770a36a30397ae4f153703ecea16c8
Author: Leo Yan <leo.yan at linaro.org>
AuthorDate: Wed Mar 4 12:28:11 2020 +0000

    OpenCSD: Support for Arm CoreSight decode lib
    
    This recipe is to support OpenCSD, which is an open source
    CoreSight trace decode library and utility.
    
    Signed-off-by: Leo Yan <leo.yan at linaro.org>
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 meta-oe/recipes-devtools/opencsd/opencsd_git.bb | 28 +++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/meta-oe/recipes-devtools/opencsd/opencsd_git.bb b/meta-oe/recipes-devtools/opencsd/opencsd_git.bb
new file mode 100644
index 0000000..0c3b483
--- /dev/null
+++ b/meta-oe/recipes-devtools/opencsd/opencsd_git.bb
@@ -0,0 +1,28 @@
+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}' \
+                LINKER='${CXX}' \
+                LINUX64=1 \
+                DEBUG=1 \
+                "
+
+do_compile() {
+    ( cd ${S}/decoder/build/linux; oe_runmake ${EXTRA_OEMAKE}; cd - )
+}
+
+do_install() {
+    ( cd ${S}/decoder/build/linux; oe_runmake PREFIX=${D}/usr install; cd - )
+}

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list