Files
meta-riscv/conf/layer.conf
Khem Raj 1d3ade5e42 layer.conf: Disable clang when meta-clang is present
Force toolchain to use gcc for riscv64.
We dont have full riscv support in upstream clang
as _yet_

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-28 12:54:23 -07:00

22 lines
646 B
Plaintext

# We have a conf and classes directory, add to BBPATH
BBPATH .= ":${LAYERDIR}"
# We have a recipes-* directories, add to BBFILES
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
${LAYERDIR}/recipes-*/*/*.bbappend"
BBFILE_COLLECTIONS += "riscv-layer"
BBFILE_PATTERN_riscv-layer = "^${LAYERDIR}/"
BBFILE_PRIORITY_riscv-layer = "6"
LAYERSERIES_COMPAT_riscv-layer = "sumo"
# risc-v does not get along with pie for reasons in so far not looked into
SECURITY_CFLAGS_riscv64 = ""
SECURITY_CFLAGS_pn-libgcc_riscv64 = ""
GCCPIE_riscv64 = ""
GLIBCPIE_riscv64 = ""
TOOLCHAIN_riscv64 = "gcc"
SECURITY_CFLAGS_pn-riscv-pk = ""
SECURITY_LDFLAGS_pn-riscv-pk = ""