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

BBFILES_DYNAMIC += " \
    qt5-layer:${LAYERDIR}/dynamic-layers/qt5-layer/*/*/*.bb \
    qt5-layer:${LAYERDIR}/dynamic-layers/qt5-layer/*/*/*.bbappend \
    virtualization-layer:${LAYERDIR}/dynamic-layers/virt-layer/*/*/*.bb \
    virtualization-layer:${LAYERDIR}/dynamic-layers/virt-layer/*/*/*.bbappend \
    openembedded-layer:${LAYERDIR}/dynamic-layers/openembedded-layer/*/*/*.bb \
    openembedded-layer:${LAYERDIR}/dynamic-layers/openembedded-layer/*/*/*.bbappend \
    \
"

LAYERSERIES_COMPAT_riscv-layer = "warrior zeus dunfell"

INSANE_SKIP_append_pn-eudev_riscv64 = " textrel"
INSANE_SKIP_append_pn-gdb_riscv64 = " textrel"
INSANE_SKIP_append_pn-perf_riscv64 = " textrel"
INSANE_SKIP_append_pn-qtbase_riscv64 = " textrel"
INSANE_SKIP_append_pn-qtbase-tools_riscv64 = " textrel"
INSANE_SKIP_append_pn-dracut_riscv64 = " textrel"
INSANE_SKIP_append_pn-qemu_riscv64 = " textrel"
INSANE_SKIP_append_pn-qemu-ptest_riscv64 = " textrel"
INSANE_SKIP_append_pn-rt-tests_riscv64 = " textrel"
INSANE_SKIP_append_pn-tvheadend_riscv64 = " textrel"
INSANE_SKIP_append_pn-tipcutils_riscv64 = " textrel"
INSANE_SKIP_append_pn-zabbix_riscv64 = " textrel"
INSANE_SKIP_append_pn-xfsdump_riscv64 = " textrel"
INSANE_SKIP_append_pn-capnproto_riscv64 = " textrel"
INSANE_SKIP_append_pn-monkey_riscv64 = " textrel"
INSANE_SKIP_append_pn-netdata_riscv64 = " textrel"
INSANE_SKIP_append_pn-ltp_riscv64 = " textrel"
INSANE_SKIP_append_pn-opensaf_riscv64 = " textrel"
INSANE_SKIP_append_pn-rdma-core_riscv64 = " textrel"
INSANE_SKIP_append_pn-util-linux_riscv64 = " textrel"

INSANE_SKIP_append_pn-xfsdump_riscv32 = " textrel"
INSANE_SKIP_append_pn-zabbix_riscv32 = " textrel"
INSANE_SKIP_append_pn-netdata_riscv32 = " textrel"
INSANE_SKIP_append_pn-tipcutils_riscv32 = " textrel"
INSANE_SKIP_append_pn-tvheadend_riscv32 = " textrel"
INSANE_SKIP_append_pn-monkey_riscv32 = " textrel"
INSANE_SKIP_append_pn-eudev_riscv32 = " textrel"
INSANE_SKIP_append_pn-dracut_riscv32 = " textrel"
INSANE_SKIP_append_pn-rt-tests_riscv32 = " textrel"
INSANE_SKIP_append_pn-gdb_riscv32 = " textrel"
INSANE_SKIP_append_pn-capnproto_riscv32 = " textrel"
INSANE_SKIP_append_pn-rdma-core_riscv32 = " textrel"
INSANE_SKIP_append_pn-util-linux_riscv32 = " textrel"
INSANE_SKIP_append_pn-ltp_riscv32 = " textrel"
