summaryrefslogtreecommitdiff
path: root/meta/recipes-support/bdwgc
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2014-07-17 06:41:32 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-07-17 15:04:07 +0100
commita449598a839e677e2a094aa4bd9a68003de6e42e (patch)
tree401d752d1b38f6babe590c6d399b1e00b353945d /meta/recipes-support/bdwgc
parent87ded649257e963e45d629679d44376d9a993ecd (diff)
downloadopenembedded-core-a449598a839e677e2a094aa4bd9a68003de6e42e.tar.gz
openembedded-core-a449598a839e677e2a094aa4bd9a68003de6e42e.tar.bz2
openembedded-core-a449598a839e677e2a094aa4bd9a68003de6e42e.zip
bdwgc: Add PACKAGECONFIG for libatomic-ops
Taken from the libgc recipe in meta-oe. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/bdwgc')
-rw-r--r--meta/recipes-support/bdwgc/bdwgc_7.2d.bb5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-support/bdwgc/bdwgc_7.2d.bb b/meta/recipes-support/bdwgc/bdwgc_7.2d.bb
index 2ba7aa5a87..2e1a0e5cfd 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"