summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTing Liu <ting.liu@nxp.com>2020-05-14 23:07:40 +0800
committerOtavio Salvador <otavio@ossystems.com.br>2020-05-15 08:42:44 -0300
commitc54e2c8fd57848721de17a7ae66e7c848bcc7e71 (patch)
treed7cb232751bbfef35ba4f545dd2525c66f6944ca
parentdc10c6f2de239bd9134574838bc23af603ae7de3 (diff)
downloadmeta-freescale-c54e2c8fd57848721de17a7ae66e7c848bcc7e71.tar.gz
qoriq-base.inc: Add support to easily choose which BSP to use
Machines or distros can define which BSP it should use by default. We are intending to default for NXP BSP by default and specific machines or DISTROs might change it if need. Two values are considered valid: mainline, nxp For example: QORIQ_DEFAULT_BSP = "nxp" Signed-off-by: Ting Liu <ting.liu@nxp.com>
-rw-r--r--conf/machine/include/qoriq-base.inc9
1 files changed, 9 insertions, 0 deletions
diff --git a/conf/machine/include/qoriq-base.inc b/conf/machine/include/qoriq-base.inc
index 6166cb2a..1eb8d1b0 100644
--- a/conf/machine/include/qoriq-base.inc
+++ b/conf/machine/include/qoriq-base.inc
@@ -20,6 +20,15 @@ EXTRA_IMAGEDEPENDS += "u-boot cst-native"
20 20
21MACHINEOVERRIDES =. "qoriq:" 21MACHINEOVERRIDES =. "qoriq:"
22 22
23# Machines or distros can define which BSP it should use by default. We are
24# intending to default for nxp BSP by default and specific machines or
25# DISTROs might change it if need.
26#
27# Two values are considered valid: mainline, nxp
28QORIQ_DEFAULT_BSP ?= "nxp"
29
30MACHINEOVERRIDES =. "use-${QORIQ_DEFAULT_BSP}-bsp:"
31
23# Sub-architecture support 32# Sub-architecture support
24MACHINE_SOCARCH_SUFFIX ?= "" 33MACHINE_SOCARCH_SUFFIX ?= ""
25MACHINE_SOCARCH_SUFFIX_qoriq = "-qoriq" 34MACHINE_SOCARCH_SUFFIX_qoriq = "-qoriq"