From: Richard Purdie Date: Thu, 17 Jul 2014 06:41:32 +0000 (+0000) Subject: bdwgc: Add PACKAGECONFIG for libatomic-ops X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~33134 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a449598a839e677e2a094aa4bd9a68003de6e42e;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git bdwgc: Add PACKAGECONFIG for libatomic-ops Taken from the libgc recipe in meta-oe. Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-support/bdwgc/bdwgc_7.2d.bb b/meta/recipes-support/bdwgc/bdwgc_7.2d.bb index 2ba7aa5a873..2e1a0e5cfd5 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"