global: rename DEY_BUILD_PLATFORM to DEY_SOC_VENDOR
The name of the variable was not very intuitive of what it contains. This variable expands to the SoC vendor (NXP or STM). Signed-off-by: Hector Palacios <hector.palacios@digi.com>
This commit is contained in:
parent
9da24ef9e4
commit
56f323044c
|
|
@ -19,8 +19,8 @@ BBFILES_DYNAMIC += " \
|
||||||
"
|
"
|
||||||
|
|
||||||
LAYERDEPENDS_digi-arm = "core"
|
LAYERDEPENDS_digi-arm = "core"
|
||||||
LAYERDEPENDS_digi-arm += "${@oe.utils.conditional('DEY_BUILD_PLATFORM', 'NXP', 'freescale-layer', '', d)}"
|
LAYERDEPENDS_digi-arm += "${@oe.utils.conditional('DEY_SOC_VENDOR', 'NXP', 'freescale-layer', '', d)}"
|
||||||
LAYERDEPENDS_digi-arm += "${@oe.utils.conditional('DEY_BUILD_PLATFORM', 'STM', 'stm-st-stm32mp', '', d)}"
|
LAYERDEPENDS_digi-arm += "${@oe.utils.conditional('DEY_SOC_VENDOR', 'STM', 'stm-st-stm32mp', '', d)}"
|
||||||
|
|
||||||
LAYERSERIES_COMPAT_digi-arm = "kirkstone"
|
LAYERSERIES_COMPAT_digi-arm = "kirkstone"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ FIP_UBOOT_DTB = "u-boot"
|
||||||
STORAGE_MEDIA = "mtd"
|
STORAGE_MEDIA = "mtd"
|
||||||
|
|
||||||
# Enable STM specific features
|
# Enable STM specific features
|
||||||
DEY_BUILD_PLATFORM = "STM"
|
DEY_SOC_VENDOR = "STM"
|
||||||
|
|
||||||
# SWUpdate sw-description configuration
|
# SWUpdate sw-description configuration
|
||||||
BOOTFS_EXT ?= ".boot.ubifs"
|
BOOTFS_EXT ?= ".boot.ubifs"
|
||||||
|
|
|
||||||
|
|
@ -299,4 +299,4 @@ UDEV_EXTRA_RULES:append = " udev-rules-imx"
|
||||||
PREFERRED_VERSION_dtc-native:ccimx6 ?= "1.4.5"
|
PREFERRED_VERSION_dtc-native:ccimx6 ?= "1.4.5"
|
||||||
PREFERRED_VERSION_nativesdk-dtc:ccimx6 ?= "1.4.5"
|
PREFERRED_VERSION_nativesdk-dtc:ccimx6 ?= "1.4.5"
|
||||||
|
|
||||||
DEY_BUILD_PLATFORM = "NXP"
|
DEY_SOC_VENDOR = "NXP"
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (C) 2018-2022 Digi International
|
# Copyright (C) 2018-2023 Digi International
|
||||||
|
|
||||||
require recipes-bsp/u-boot/u-boot.inc
|
require recipes-bsp/u-boot/u-boot.inc
|
||||||
|
|
||||||
|
|
@ -38,7 +38,7 @@ BUILD_UBOOT_SCRIPTS ?= "true"
|
||||||
BOOTLOADER_IMAGE_RECIPE ?= "u-boot"
|
BOOTLOADER_IMAGE_RECIPE ?= "u-boot"
|
||||||
|
|
||||||
LOCALVERSION ?= ""
|
LOCALVERSION ?= ""
|
||||||
inherit ${@oe.utils.conditional('DEY_BUILD_PLATFORM', 'NXP', 'fsl-u-boot-localversion', '', d)}
|
inherit ${@oe.utils.conditional('DEY_SOC_VENDOR', 'NXP', 'fsl-u-boot-localversion', '', d)}
|
||||||
|
|
||||||
# Disable u-boot environment artifacts
|
# Disable u-boot environment artifacts
|
||||||
UBOOT_INITIAL_ENV = ""
|
UBOOT_INITIAL_ENV = ""
|
||||||
|
|
|
||||||
|
|
@ -12,5 +12,5 @@ IMX_TRUSTFENCE_SDK_TOOLS ?= " \
|
||||||
"
|
"
|
||||||
|
|
||||||
RDEPENDS:${PN} += " \
|
RDEPENDS:${PN} += " \
|
||||||
${@oe.utils.conditional('DEY_BUILD_PLATFORM', 'NXP', '${IMX_OPTEE_SDK_RDEPENDS} ${IMX_TRUSTFENCE_SDK_TOOLS}', '', d)} \
|
${@oe.utils.conditional('DEY_SOC_VENDOR', 'NXP', '${IMX_OPTEE_SDK_RDEPENDS} ${IMX_TRUSTFENCE_SDK_TOOLS}', '', d)} \
|
||||||
"
|
"
|
||||||
|
|
|
||||||
|
|
@ -1,21 +1,21 @@
|
||||||
# Copyright (C) 2022 Digi International
|
# Copyright (C) 2022,2023 Digi International
|
||||||
|
|
||||||
SUMMARY = "Linux kernel for Digi boards"
|
SUMMARY = "Linux kernel for Digi boards"
|
||||||
LICENSE = "GPL-2.0-only"
|
LICENSE = "GPL-2.0-only"
|
||||||
LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
|
LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
|
||||||
|
|
||||||
# CONFIG_KERNEL_LZO in defconfig
|
# CONFIG_KERNEL_LZO in defconfig
|
||||||
DEPENDS += "${@oe.utils.conditional('DEY_BUILD_PLATFORM', 'NXP', 'lzop-native', '', d)}"
|
DEPENDS += "${@oe.utils.conditional('DEY_SOC_VENDOR', 'NXP', 'lzop-native', '', d)}"
|
||||||
|
|
||||||
inherit kernel
|
inherit kernel
|
||||||
inherit ${@oe.utils.conditional('DEY_BUILD_PLATFORM', 'NXP', 'fsl-kernel-localversion', '', d)}
|
inherit ${@oe.utils.conditional('DEY_SOC_VENDOR', 'NXP', 'fsl-kernel-localversion', '', d)}
|
||||||
|
|
||||||
SRCBRANCH = "v5.15.71/nxp/master"
|
SRCBRANCH = "v5.15.71/nxp/master"
|
||||||
SRCBRANCH:stm32mpcommon = "v5.15.67/stm/master"
|
SRCBRANCH:stm32mpcommon = "v5.15.67/stm/master"
|
||||||
SRCREV = "${AUTOREV}"
|
SRCREV = "${AUTOREV}"
|
||||||
SRCREV:stm32mpcommon = "${AUTOREV}"
|
SRCREV:stm32mpcommon = "${AUTOREV}"
|
||||||
|
|
||||||
require ${@oe.utils.conditional('DEY_BUILD_PLATFORM', 'STM', 'recipes-kernel/linux/linux-stm32mp.inc', '', d)}
|
require ${@oe.utils.conditional('DEY_SOC_VENDOR', 'STM', 'recipes-kernel/linux/linux-stm32mp.inc', '', d)}
|
||||||
# Don't create custom folder for kernel artifacts
|
# Don't create custom folder for kernel artifacts
|
||||||
do_deploy[sstate-outputdirs] = "${DEPLOY_DIR_IMAGE}"
|
do_deploy[sstate-outputdirs] = "${DEPLOY_DIR_IMAGE}"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -20,12 +20,12 @@ BBFILES_DYNAMIC += " \
|
||||||
stm32mpu-ai:${LAYERDIR}/dynamic-layers/stm32mpu-ai/*/*/*.bbappend \
|
stm32mpu-ai:${LAYERDIR}/dynamic-layers/stm32mpu-ai/*/*/*.bbappend \
|
||||||
qt5-layer:${LAYERDIR}/dynamic-layers/qt5-layer/*/*/*.bb \
|
qt5-layer:${LAYERDIR}/dynamic-layers/qt5-layer/*/*/*.bb \
|
||||||
qt5-layer:${LAYERDIR}/dynamic-layers/qt5-layer/*/*/*.bbappend \
|
qt5-layer:${LAYERDIR}/dynamic-layers/qt5-layer/*/*/*.bbappend \
|
||||||
qt5-layer:${LAYERDIR}/dynamic-layers/qt5-layer/${DEY_BUILD_PLATFORM}/*/*/*.bb \
|
qt5-layer:${LAYERDIR}/dynamic-layers/qt5-layer/${DEY_SOC_VENDOR}/*/*/*.bb \
|
||||||
qt5-layer:${LAYERDIR}/dynamic-layers/qt5-layer/${DEY_BUILD_PLATFORM}/*/*/*.bbappend \
|
qt5-layer:${LAYERDIR}/dynamic-layers/qt5-layer/${DEY_SOC_VENDOR}/*/*/*.bbappend \
|
||||||
qt6-layer:${LAYERDIR}/dynamic-layers/qt6-layer/*/*/*.bb \
|
qt6-layer:${LAYERDIR}/dynamic-layers/qt6-layer/*/*/*.bb \
|
||||||
qt6-layer:${LAYERDIR}/dynamic-layers/qt6-layer/*/*/*.bbappend \
|
qt6-layer:${LAYERDIR}/dynamic-layers/qt6-layer/*/*/*.bbappend \
|
||||||
qt6-layer:${LAYERDIR}/dynamic-layers/qt6-layer/${DEY_BUILD_PLATFORM}/*/*/*.bb \
|
qt6-layer:${LAYERDIR}/dynamic-layers/qt6-layer/${DEY_SOC_VENDOR}/*/*/*.bb \
|
||||||
qt6-layer:${LAYERDIR}/dynamic-layers/qt6-layer/${DEY_BUILD_PLATFORM}/*/*/*.bbappend \
|
qt6-layer:${LAYERDIR}/dynamic-layers/qt6-layer/${DEY_SOC_VENDOR}/*/*/*.bbappend \
|
||||||
"
|
"
|
||||||
|
|
||||||
BBFILE_COLLECTIONS += "digi-dey"
|
BBFILE_COLLECTIONS += "digi-dey"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue