layer.conf 1.26 KB
# 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 += "smarcimx8m"
BBFILE_PATTERN_smarcimx8m := "^${LAYERDIR}/"
BBFILE_PRIORITY_smarcimx8m = "12"
LAYERSERIES_COMPAT_smarcimx8m = "warrior"

HOSTTOOLS_NONFATAL_append = " bc sha384sum xxd"

# Enable optee for all builds using this layer, assuming the machine supports it.
# To remove optee from the build, add the following line to local.conf:
# DISTRO_FEATURES_remove = "optee"
# DEPRECATED: The ability to remove optee from the build is deprecated and
# will be removed in some future release.
DISTRO_FEATURES_append = " optee"

DISTRO_FEATURES_FILTER_NATIVESDK += "wayland"

BBMASK += "meta-freescale/recipes-graphics/wayland/weston-init.bbappend"

EMB_UBOOT_MIRROR ?= "git://git@git.embedian.com/developer/smarc-t335x-uboot.git"
EMB_KERNEL_MIRROR ?= "git://git@git.embedian.com/developer/smarc-fsl-linux-kernel.git"

MIRRORS += " \
${EMB_UBOOT_MIRROR}   git://github.com/embedian/smarc-uboot.git;protocol=git;branch=${SRCBRANCH} \n \
${EMB_KERNEL_MIRROR}   git://github.com/embedian/smarc-fsl-linux-kernel.git;protocol=git;branch=${SRCBRANCH} \n \
"