From a449598a839e677e2a094aa4bd9a68003de6e42e Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 17 Jul 2014 06:41:32 +0000 Subject: bdwgc: Add PACKAGECONFIG for libatomic-ops Taken from the libgc recipe in meta-oe. Signed-off-by: Richard Purdie --- meta/recipes-support/bdwgc/bdwgc_7.2d.bb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'meta/recipes-support') 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" -- cgit 1.2.3-korg