Skip to contentSkip to conversation

asio: extend recipe to add native support

PATCH In review Bjarne Michelsen 2 participants 2 messages Aug 20, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 asio: extend recipe to add native support

Allows usage of asio for native packages

---
 meta-oe/recipes-support/asio/asio_1.16.1.bb | 4 ++++
 1 file changed, 4 insertions(+)
meta-oe/recipes-support/asio/asio_1.16.1.bb +4 -0
index f381d12fb..dfc3b798d 100644
@@ -25,3 +25,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/asio/${BP}.tar.bz2"
 PACKAGECONFIG ??= "boost"
 
 PACKAGECONFIG[boost] = "--with-boost,--without-boost,boost"
+
+BBCLASSEXTEND += "native nativesdk"
+
+EXTRA_OECONF_class-native += "--with-boost=${STAGING_LIBDIR_NATIVE}"
Signature · 1 line
2.25.1
#1 lore raw
Quoted 13 lines · Bjarne Michelsen via lists.openembedded.org

Allows usage of asio for native packages

---
 meta-oe/recipes-support/asio/asio_1.16.1.bb | 4 ++++
 1 file changed, 4 insertions(+)
meta-oe/recipes-support/asio/asio_1.16.1.bb +0 -0
index f381d12fb..dfc3b798d 100644

meta-oe/recipes-support/asio/asio_1.16.1.bb SRC_URI = "${SOURCEFORGE_MIRROR}/asio/${BP}.tar.bz2" · line 31

Quoted 7 lines
meta-oe/recipes-support/asio/asio_1.16.1.bb +4 -0
@@ -25,3 +25,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/asio/${BP}.tar.bz2"
 PACKAGECONFIG ??= "boost"
 
 PACKAGECONFIG[boost] = "--with-boost,--without-boost,boost"
+
+BBCLASSEXTEND += "native nativesdk"
+
+EXTRA_OECONF_class-native += "--with-boost=${STAGING_LIBDIR_NATIVE}"

this should be EXTRA_OECONF_append_class-native = " --with-boost=${STAGING_LIBDIR_NATIVE}"

Quoted 4 lines

--
2.25.1