mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-04 16:10:10 +00:00
c-ares doesn't build if the distro has enabled usage of the security_flags.inc file as it is picky about what is placed into CPPFLAGS and CFLAGS. It complains and errors out if any preprocessor options appear in CFLAGS. Fix this by providing an additional include file that is require'd from conf/layer.conf which for c-ares moves the defines added by security_flags.inc from CFLAGS to CPPFLAGS. Signed-off-by: André Draszik <adraszik@tycoint.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
27 lines
864 B
Plaintext
27 lines
864 B
Plaintext
# We have a conf and classes directory, add to BBPATH
|
|
BBPATH .= ":${LAYERDIR}"
|
|
|
|
# We have a packages directory, add to BBFILES
|
|
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
|
|
${LAYERDIR}/recipes-*/*/*.bbappend"
|
|
|
|
BBFILE_COLLECTIONS += "networking-layer"
|
|
BBFILE_PATTERN_networking-layer := "^${LAYERDIR}/"
|
|
BBFILE_PRIORITY_networking-layer = "5"
|
|
|
|
# This should only be incremented on significant changes that will
|
|
# cause compatibility issues with other layers
|
|
LAYERVERSION_networking-layer = "1"
|
|
|
|
LAYERDEPENDS_networking-layer = "core"
|
|
LAYERDEPENDS_networking-layer += "openembedded-layer"
|
|
LAYERDEPENDS_networking-layer += "meta-python"
|
|
|
|
LICENSE_PATH += "${LAYERDIR}/licenses"
|
|
|
|
# used by waf-samba.bbclass
|
|
WAF_CROSS_ANSWERS_PATH = "${LAYERDIR}/files/waf-cross-answers"
|
|
|
|
# Override security flags
|
|
require conf/distro/include/meta_networking_security_flags.inc
|