From af6c729003d6d7dba11d88fde05b93467cbaf1d0 Mon Sep 17 00:00:00 2001 From: Mark Hatle Date: Mon, 23 Jan 2023 12:21:22 -0800 Subject: xilinx-deprecated: Using BOARD and BOARD_VARIANT is now an error Signed-off-by: Mark Hatle --- meta-xilinx-core/classes/xilinx-deprecated.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-xilinx-core/classes/xilinx-deprecated.bbclass b/meta-xilinx-core/classes/xilinx-deprecated.bbclass index 2e372a9b..1aee2fe1 100644 --- a/meta-xilinx-core/classes/xilinx-deprecated.bbclass +++ b/meta-xilinx-core/classes/xilinx-deprecated.bbclass @@ -7,7 +7,7 @@ xilinx_deprecated_config_eventhandler[eventmask] = "bb.event.ConfigParsed" python xilinx_deprecated_config_eventhandler () { # Check for BOARD & BOARD_VARIANT usage if d.getVar('BOARD') or d.getVar('BOARD_VARIANT'): - bb.warn("Deprecated BOARD (%s) or BOARD_VARIANT (%s) is being used, they are no longer supported and are ignored." % (d.getVar('BOARD'), d.getVar('BOARD_VARIANT'))) + bb.error("Deprecated BOARD (%s) or BOARD_VARIANT (%s) is being used, they are no longer supported and are ignored." % (d.getVar('BOARD'), d.getVar('BOARD_VARIANT'))) msg_list = d.getVarFlags('XILINX_DEPRECATED') or [] for msg_source in msg_list: -- cgit v1.2.3-54-g00ecf