From c54e2c8fd57848721de17a7ae66e7c848bcc7e71 Mon Sep 17 00:00:00 2001 From: Ting Liu Date: Thu, 14 May 2020 23:07:40 +0800 Subject: [PATCH] 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 --- conf/machine/include/qoriq-base.inc | 9 +++++++++ 1 file changed, 9 insertions(+) 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" MACHINEOVERRIDES =. "qoriq:" +# 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 +QORIQ_DEFAULT_BSP ?= "nxp" + +MACHINEOVERRIDES =. "use-${QORIQ_DEFAULT_BSP}-bsp:" + # Sub-architecture support MACHINE_SOCARCH_SUFFIX ?= "" MACHINE_SOCARCH_SUFFIX_qoriq = "-qoriq" -- 2.40.1