summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support
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:10 +0100
commit0662aa801237ac716e35c7930d857f98249db1cf (patch)
tree34f49daa6420f99662fcbd6d594d2ca33e8d37d5 /meta/recipes-support
parentd66c567b111335e1ad5c63fa5b3dde7fa2d4f00f (diff)
downloadast2050-yocto-poky-0662aa801237ac716e35c7930d857f98249db1cf.zip
ast2050-yocto-poky-0662aa801237ac716e35c7930d857f98249db1cf.tar.gz
bdwgc: Add PACKAGECONFIG for libatomic-ops
Taken from the libgc recipe in meta-oe. (From OE-Core rev: a449598a839e677e2a094aa4bd9a68003de6e42e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support')
-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 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"
OpenPOWER on IntegriCloud