Thanks alot Leo,

I'll try your patch. I am just looking to use OpenCSD library in my existing project for trace decoding.

On Tue, Mar 17, 2020, 15:17 Leo Yan <leo.yan@linaro.org> wrote:
Hi Subhasish,

On Mon, Mar 16, 2020 at 11:16:29PM +0530, subhasish Karmakar wrote:
> Hi,
>
> Do you have Cmake based build or bitbake recipe for OpenCSD project?

If you are looking for OE recipe, you could refer the patch [1]; I am
trying to upstream it into meta-arm layer, still pending.

BTW, except OpenCSD recipe, if you want to integrate OpenCSD into perf
tool, you should apply below change to meta layer:

diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb
index e005eb082b..c0a9f37e0b 100644
--- a/meta/recipes-kernel/perf/perf.bb
+++ b/meta/recipes-kernel/perf/perf.bb
@@ -26,6 +26,7 @@ PACKAGECONFIG[jvmti] = ",NO_JVMTI=1"
 PACKAGECONFIG[audit] = ",NO_LIBAUDIT=1,audit"
 PACKAGECONFIG[manpages] = ",,xmlto-native asciidoc-native"
 PACKAGECONFIG[cap] = ",,libcap"
+PACKAGECONFIG[opencsd] = "CORESIGHT=1,,opencsd"

Thanks,
Leo

[1] https://lists.yoctoproject.org/g/meta-arm/topic/patch_v1_resend_opencsd/71764663?p=,,,20,0,0,0::recentpostdate%2Fsticky,,,20,2,0,71764663

> My project is CMAKE based.
> I want to integrate OpenCSD with it.
>
> Regards,
> Subhasish