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>
This commit is contained in:
Richard Purdie 2014-07-17 06:41:32 +00:00
parent d66c567b11
commit 0662aa8012
1 changed files with 5 additions and 0 deletions

View File

@ -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"