From ce7c7a87360e8c1dda5982b3b6e096d395e88b90 Mon Sep 17 00:00:00 2001
From: Francesco Pham <francesco.pham@huawei.com>
Date: Wed, 6 Apr 2022 16:51:22 +0200
Subject: [PATCH] coap: fix override syntax

- convert to kirkstone override syntax
- restrict example package to include only examples directory

Signed-off-by: Francesco Pham <francesco.pham@huawei.com>
---
 meta-oniro-staging/recipes-connectivity/coap/coap_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oniro-staging/recipes-connectivity/coap/coap_git.bb b/meta-oniro-staging/recipes-connectivity/coap/coap_git.bb
index d691d641..cae51b98 100644
--- a/meta-oniro-staging/recipes-connectivity/coap/coap_git.bb
+++ b/meta-oniro-staging/recipes-connectivity/coap/coap_git.bb
@@ -36,4 +36,4 @@ EXTRA_OECONF = "--disable-doxygen --disable-manpages --with-mbedtls"
 BBCLASSEXTEND = "native nativesdk"
 
 PACKAGE_BEFORE_PN = "${PN}-examples"
-FILES_${PN}-examples = "${datadir}/*"
+FILES:${PN}-examples = "${datadir}/libcoap/examples/*"
-- 
GitLab