diff options
Diffstat (limited to 'recipes-bsp/u-boot/u-boot-fslc_2022.01.bb')
| -rw-r--r-- | recipes-bsp/u-boot/u-boot-fslc_2022.01.bb | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/recipes-bsp/u-boot/u-boot-fslc_2022.01.bb b/recipes-bsp/u-boot/u-boot-fslc_2022.01.bb new file mode 100644 index 000000000..21989ae53 --- /dev/null +++ b/recipes-bsp/u-boot/u-boot-fslc_2022.01.bb | |||
| @@ -0,0 +1,31 @@ | |||
| 1 | require recipes-bsp/u-boot/u-boot.inc | ||
| 2 | require u-boot-fslc-common_${PV}.inc | ||
| 3 | |||
| 4 | DESCRIPTION = "U-Boot based on mainline U-Boot used by FSL Community BSP in \ | ||
| 5 | order to provide support for some backported features and fixes, or because it \ | ||
| 6 | was submitted for revision and it takes some time to become part of a stable \ | ||
| 7 | version, or because it is not applicable for upstreaming." | ||
| 8 | |||
| 9 | inherit ${@oe.utils.ifelse(d.getVar('UBOOT_PROVIDES_BOOT_CONTAINER') == '1', 'imx-boot-container', '')} | ||
| 10 | |||
| 11 | DEPENDS += "bc-native dtc-native python3-setuptools-native lzop-native" | ||
| 12 | |||
| 13 | # Location known to imx-boot component, where U-Boot artifacts | ||
| 14 | # should be additionally deployed. | ||
| 15 | # See below note above do_deploy:append:mx8m for the purpose of | ||
| 16 | # this delopyment location | ||
| 17 | BOOT_TOOLS = "imx-boot-tools" | ||
| 18 | |||
| 19 | PROVIDES += "u-boot" | ||
| 20 | |||
| 21 | B = "${WORKDIR}/build" | ||
| 22 | |||
| 23 | # FIXME: Allow linking of 'tools' binaries with native libraries | ||
| 24 | # used for generating the boot logo and other tools used | ||
| 25 | # during the build process. | ||
| 26 | EXTRA_OEMAKE += 'HOSTCC="${BUILD_CC} ${BUILD_CPPFLAGS}" \ | ||
| 27 | HOSTLDFLAGS="${BUILD_LDFLAGS}" \ | ||
| 28 | HOSTSTRIP=true' | ||
| 29 | |||
| 30 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
| 31 | COMPATIBLE_MACHINE = "(mxs|mx5|mx6|mx7|vf|use-mainline-bsp)" | ||
