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! Philip > >> Signed-off-by: Leo Yan <[email protected]> >> --- >> .../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 [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel
