Blame view
conf/layer.conf
4.9 KB
6375fa236 Yocto meta layers... |
1 2 3 4 5 6 |
# 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" |
6ab284bf2 Yocto Zeus Suppor... |
7 8 9 10 |
BBFILE_COLLECTIONS += "smarcimx8mq" BBFILE_PATTERN_smarcimx8mq := "^${LAYERDIR}" BBFILE_PRIORITY_smarcimx8mq = "12" LAYERSERIES_COMPAT_smarcimx8mq = "warrior zeus" |
6375fa236 Yocto meta layers... |
11 |
|
6ab284bf2 Yocto Zeus Suppor... |
12 13 14 15 16 17 18 19 20 21 22 23 |
# Define new EULAs and add them to the list defined in meta-freescale. # See fsl-eula-unpack.bbclass. FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V10 = "fd4b227530cd88a82af6a5982cfb724d" FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V11 = "228c72f2a91452b8a03c4cab30f30ef9" FSL_EULA_FILE_MD5SUMS_append = " \ ${FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V10} \ ${FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V11} \ " # Override the EULA defined in meta-freescale. FSL_EULA_FILE = "${LAYERDIR}/../EULA.txt" FSL_EULA_FILE_MD5SUM = "${FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V11}" |
6375fa236 Yocto meta layers... |
24 |
|
6ab284bf2 Yocto Zeus Suppor... |
25 26 27 28 |
HOSTTOOLS_NONFATAL_append = " bc rsync xxd" # optee is no longer a valid distro feature. Use machine feature to remove, like this: # MACHINE_FEATURES_remove = "optee" |
6375fa236 Yocto meta layers... |
29 30 |
# DEPRECATED: The ability to remove optee from the build is deprecated and # will be removed in some future release. |
6375fa236 Yocto meta layers... |
31 32 |
DISTRO_FEATURES_FILTER_NATIVESDK += "wayland" |
6ab284bf2 Yocto Zeus Suppor... |
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 |
MACHINE_USES_VIVANTE_KERNEL_DRIVER_MODULE ?= "0" # Overrides for imx-base.inc IMAGE_CLASSES += "image_types_create_sdcard_symlink" MACHINE_SOCARCH_FILTER_append_imxgpu = " opencv" MACHINE_SOCARCH_FILTER_remove = " imx-parser" MACHINE_FIRMWARE_append = " ${@bb.utils.contains('MACHINE_FEATURES', 'bcm4339', 'linux-firmware-bcm4339', '', d)}" MACHINE_FIRMWARE_append = " ${@bb.utils.contains('MACHINE_FEATURES', 'bcm43430', 'linux-firmware-bcm43430', '', d)}" MACHINE_FIRMWARE_append = " ${@bb.utils.contains('MACHINE_FEATURES', 'bcm43455', 'linux-firmware-bcm43455', '', d)}" MACHINE_FIRMWARE_append = " ${@bb.utils.contains('MACHINE_FEATURES', 'bcm4356', 'linux-firmware-bcm4356-pcie', '', d)}" MACHINE_FIRMWARE_append = " ${@bb.utils.contains('MACHINE_FEATURES', 'bcm4359', 'linux-firmware-bcm4359-pcie', '', d)}" MACHINE_FIRMWARE_append = " ${@bb.utils.contains('MACHINE_FEATURES', 'nxp8987', 'linux-firmware-nxp8987', '', d)}" # Extra Marvell Wi-Fi & BTE driver and firmware MACHINE_EXTRA_RRECOMMENDS_append = " ${@bb.utils.contains('MACHINE_FEATURES', 'mrvl8997', 'packagegroup-imx-mrvl8997', '', d)}" # Extra NXP Wlan SDK MACHINE_EXTRA_RRECOMMENDS_append = " ${@bb.utils.contains('MACHINE_FEATURES', 'nxp8987', 'nxp-wlan-sdk', '', d)}" MACHINE_GSTREAMER_1_0_PLUGIN_mx8 ?= "imx-gst1.0-plugin" PREFERRED_VERSION_weston_mx8 ?= "8.0.0.imx" PREFERRED_VERSION_wayland-protocols_mx8 = "1.18.imx" PREFERRED_VERSION_libdrm_mx8 ?= "2.4.99.imx" PREFERRED_VERSION_isp-imx ?= "4.0.8.2" PREFERRED_VERSION_basler-camera ?= "1.0.2" PREFERRED_VERSION_optee-client_mx8 = "3.7.0.imx" PREFERRED_VERSION_optee-os_mx8 = "3.7.0.imx" PREFERRED_VERSION_optee-test_mx8 = "3.7.0.imx" # Use the stable version 3.2.0. Version 3.7.0 is still # in an experimental state PREFERRED_VERSION_optee-os ?= "3.2.0.imx" PREFERRED_VERSION_optee-client ?= "3.2.0.imx" PREFERRED_VERSION_optee-test ?= "3.2.0.imx" # Temporary workaround to override specific prefered version # in meta-freescale layer for i.MX8. PREFERRED_VERSION_optee-os_mx8 ?= "3.7.0.imx" PREFERRED_VERSION_optee-client_mx8 ?= "3.7.0.imx" PREFERRED_VERSION_optee-test_mx8 ?= "3.7.0.imx" IMX_DEFAULT_KERNEL_mx6ulz = "linux-imx" SOC_DEFAULT_IMAGE_FSTYPES_remove = "wic.gz" SOC_DEFAULT_IMAGE_FSTYPES_append = " wic.bz2 tar.bz2" # Remove from upstream SDCARD_ROOTFS = "NO_LONGER_USED" OPTEE_BOOT_IMAGE_mx8 ?= "tee.bin" IMAGE_BOOT_FILES_append = " \ ${@bb.utils.contains('COMBINED_FEATURES', 'xen', 'xen', '', d)} \ " IMAGE_INSTALL_append = " \ ${@bb.utils.contains('COMBINED_FEATURES', 'jailhouse', 'jailhouse', '', d)} \ ${@bb.utils.contains('MACHINE_FEATURES', 'optee', 'packagegroup-fsl-optee-imx', '', d)} \ ${@bb.utils.contains('COMBINED_FEATURES', 'xen', 'imx-xen-base imx-xen-hypervisor', '', d)} \ " MACHINE_FEATURES_append_imx = " nxp8987" # Overrides for all MACHINE.conf with optee support UBOOT_CONFIG_OPTEE_CONFIG = "mx${OPTEE_BIN_EXT}_optee_config" UBOOT_CONFIG[sd-optee] = "${UBOOT_CONFIG_OPTEE_CONFIG},sdcard" MACHINE_FEATURES_remove_smarcimx8mq2g = "qca6174" MACHINE_FEATURES_append_smarcimx8mq2g = " bcm43455 bcm4356 bcm4359 mrvl8997 jailhouse" MACHINE_FEATURES_remove_smarcimx8mq4g = "qca6174" MACHINE_FEATURES_append_smarcimx8mq4g = " bcm43455 bcm4356 bcm4359 mrvl8997 jailhouse" |
6375fa236 Yocto meta layers... |
112 113 114 115 116 117 118 119 120 121 |
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} \ ${EMB_KERNEL_MIRROR} git://github.com/embedian/smarc-fsl-linux-kernel.git;protocol=git;branch=${SRCBRANCH} \ " |
6ab284bf2 Yocto Zeus Suppor... |
122 |