Skip to contentSkip to conversation

libwebsockets: Avoid absolute paths in *.cmake files in the sysroot

PATCH Peter Kjellerstedt 1 participant 1 message Jul 25, 2022 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Please cherry-pick this to Kirkstone.

//Peter

Quoted 22 lines

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Peter Kjellerstedt
Sent: den 10 maj 2022 18:08
To: [email protected]
Subject: [oe] [master][kirkstone][meta-oe][PATCH] libwebsockets: Avoid absolute paths in *.cmake files in the sysroot

---
 .../recipes-connectivity/libwebsockets/libwebsockets_4.2.2.bb  | 3 +++
 1 file changed, 3 insertions(+)
meta-oe/recipes-connectivity/libwebsockets/libwebsockets_4.2.2.bb +3 -0
index a5fcb8d72..2a3a4ebd0 100644
@@ -41,3 +41,6 @@ RDEPENDS:${PN} += " ${@bb.utils.contains('PACKAGECONFIG', 'libuv', '${PN}-evlib-
 RDEPENDS:${PN} += " ${@bb.utils.contains('PACKAGECONFIG', 'libev', '${PN}-evlib-ev', '', d)}"
 
 RDEPENDS:${PN}-dev += " ${@bb.utils.contains('PACKAGECONFIG', 'static', '${PN}-staticdev', '', d)}"
+
+# Avoid absolute paths to end up in the sysroot.
+SSTATE_SCAN_FILES += "*.cmake"