[oe] [PATCH v1] OpenCSD: Support for Arm CoreSight decode lib

Josef Holzmayr holzmayr at rsi-elektrotechnik.de
Wed Mar 4 17:02:01 UTC 2020


On Wed, Mar 04, 2020 at 11:36:38AM -0500, Philip Balister wrote:
> On 3/4/20 11:05 AM, Scott Murray wrote:
> > On Wed, 4 Mar 2020, Leo Yan wrote:
> > 
> >> This recipe is to support OpenCSD, which is an open source
> >> CoreSight trace decode library and utility.
> > 
> > Just a thought, this seems like the kind of thing that might make sense
> > for the new meta-arm layer that Jon has been working up?
> 
> I had the exact thought and am really glad I read this before saying the
> same thing!

+1

> 
> Philip
> 
> > 
> >> Signed-off-by: Leo Yan <leo.yan at linaro.org>
> >> ---
> >>  .../recipes-devtools/opencsd/opencsd_git.bb   | 28 +++++++++++++++++++
> >>  1 file changed, 28 insertions(+)
> >>  create mode 100644 meta-oe/recipes-devtools/opencsd/opencsd_git.bb
> >>
> >> 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 000000000..0c3b4837d
> >> --- /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 - )
> >> +}
> >>
> -- 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
———————————————
Josef Holzmayr
Software Developer Embedded Systems

Tel: +49 8444 9204-48
Fax: +49 8444 9204-50

R-S-I Elektrotechnik GmbH & Co. KG
Woelkestrasse 11
D-85301 Schweitenkirchen
www.rsi-elektrotechnik.de
———————————————
Amtsgericht Ingolstadt – GmbH: HRB 191328 – KG: HRA 170393
Geschäftsführer: Dr.-Ing. Michael Sorg, Dipl.-Ing. Franz Sorg
Ust-IdNr: DE 128592548 

_____________________________________________________________
Amtsgericht Ingolstadt - GmbH: HRB 191328 - KG: HRA 170363
Geschäftsführer: Dr.-Ing. Michael Sorg, Dipl.-Ing. Franz Sorg
USt-IdNr.: DE 128592548



More information about the Openembedded-devel mailing list