[oe-commits] Richard Purdie : bdwgc: Add PACKAGECONFIG for libatomic-ops

git at git.openembedded.org git at git.openembedded.org
Fri Jul 18 13:36:33 UTC 2014


Module: openembedded-core.git
Branch: master-next
Commit: a449598a839e677e2a094aa4bd9a68003de6e42e
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=a449598a839e677e2a094aa4bd9a68003de6e42e

Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Thu Jul 17 06:41:32 2014 +0000

bdwgc: Add PACKAGECONFIG for libatomic-ops

Taken from the libgc recipe in meta-oe.

Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-support/bdwgc/bdwgc_7.2d.bb | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/meta/recipes-support/bdwgc/bdwgc_7.2d.bb b/meta/recipes-support/bdwgc/bdwgc_7.2d.bb
index 2ba7aa5..2e1a0e5 100644
--- a/meta/recipes-support/bdwgc/bdwgc_7.2d.bb
+++ b/meta/recipes-support/bdwgc/bdwgc_7.2d.bb
@@ -35,4 +35,9 @@ S = "${WORKDIR}/gc-${REAL_PV}"
 ARM_INSTRUCTION_SET = "arm"
 
 inherit autotools pkgconfig
+
+# by default use external libatomic-ops
+PACKAGECONFIG ??= "libatomic-ops"
+PACKAGECONFIG[libatomic-ops] = "--with-libatomic-ops=yes,--with-libatomic-ops=no,libatomics-ops"
+
 BBCLASSEXTEND = "native nativesdk"



More information about the Openembedded-commits mailing list