diff options
author | Ting Liu <ting.liu@nxp.com> | 2020-05-14 23:07:40 +0800 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2020-05-15 08:42:44 -0300 |
commit | c54e2c8fd57848721de17a7ae66e7c848bcc7e71 (patch) | |
tree | d7cb232751bbfef35ba4f545dd2525c66f6944ca | |
parent | dc10c6f2de239bd9134574838bc23af603ae7de3 (diff) | |
download | meta-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.inc | 9 |
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 | ||
21 | MACHINEOVERRIDES =. "qoriq:" | 21 | MACHINEOVERRIDES =. "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 | ||
28 | QORIQ_DEFAULT_BSP ?= "nxp" | ||
29 | |||
30 | MACHINEOVERRIDES =. "use-${QORIQ_DEFAULT_BSP}-bsp:" | ||
31 | |||
23 | # Sub-architecture support | 32 | # Sub-architecture support |
24 | MACHINE_SOCARCH_SUFFIX ?= "" | 33 | MACHINE_SOCARCH_SUFFIX ?= "" |
25 | MACHINE_SOCARCH_SUFFIX_qoriq = "-qoriq" | 34 | MACHINE_SOCARCH_SUFFIX_qoriq = "-qoriq" |