mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-27 07:57:27 +00:00
bdwgc: make libatomic-ops as dependency
libatomic_ops is required and can't be optional. Move it from PACKAGECONFIG to DEPENDS. Adjust the ordering of the recipe as well. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -21,11 +21,10 @@ SECTION = "devel"
|
|||||||
LICENSE = "MIT"
|
LICENSE = "MIT"
|
||||||
LIC_FILES_CHKSUM = "file://README.QUICK;md5=81b447d779e278628c843aef92f088fa"
|
LIC_FILES_CHKSUM = "file://README.QUICK;md5=81b447d779e278628c843aef92f088fa"
|
||||||
|
|
||||||
SRCREV = "d3dede3ce4462cd82a15f161af797ca51654546a"
|
DEPENDS = "libatomic-ops"
|
||||||
SRC_URI = "git://github.com/ivmai/bdwgc.git;branch=release-8_0 \
|
|
||||||
"
|
|
||||||
|
|
||||||
FILES_${PN}-doc = "${datadir}"
|
SRCREV = "d3dede3ce4462cd82a15f161af797ca51654546a"
|
||||||
|
SRC_URI = "git://github.com/ivmai/bdwgc.git;branch=release-8_0"
|
||||||
|
|
||||||
S = "${WORKDIR}/git"
|
S = "${WORKDIR}/git"
|
||||||
|
|
||||||
@@ -33,12 +32,10 @@ ARM_INSTRUCTION_SET = "arm"
|
|||||||
|
|
||||||
inherit autotools pkgconfig
|
inherit autotools pkgconfig
|
||||||
|
|
||||||
# by default use external libatomic-ops
|
|
||||||
PACKAGECONFIG ??= "libatomic-ops"
|
|
||||||
PACKAGECONFIG[libatomic-ops] = "--with-libatomic-ops=yes,--with-libatomic-ops=no,libatomic-ops"
|
|
||||||
|
|
||||||
EXTRA_OECONF += "--enable-cpluscplus"
|
EXTRA_OECONF += "--enable-cpluscplus"
|
||||||
|
|
||||||
CFLAGS_append_libc-musl = " -D_GNU_SOURCE -DNO_GETCONTEXT -DSEARCH_FOR_DATA_START -DUSE_MMAP -DHAVE_DL_ITERATE_PHDR"
|
CFLAGS_append_libc-musl = " -D_GNU_SOURCE -DNO_GETCONTEXT -DSEARCH_FOR_DATA_START -DUSE_MMAP -DHAVE_DL_ITERATE_PHDR"
|
||||||
|
|
||||||
|
FILES_${PN}-doc = "${datadir}"
|
||||||
|
|
||||||
BBCLASSEXTEND = "native nativesdk"
|
BBCLASSEXTEND = "native nativesdk"
|
||||||
|
|||||||
Reference in New Issue
Block a user