summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-xilinx-core/classes/xilinx-deprecated.bbclass4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-xilinx-core/classes/xilinx-deprecated.bbclass b/meta-xilinx-core/classes/xilinx-deprecated.bbclass
index c7509feb..788b963e 100644
--- a/meta-xilinx-core/classes/xilinx-deprecated.bbclass
+++ b/meta-xilinx-core/classes/xilinx-deprecated.bbclass
@@ -9,6 +9,10 @@ python xilinx_deprecated_config_eventhandler () {
9 if d.getVar('BOARD') or d.getVar('BOARD_VARIANT'): 9 if d.getVar('BOARD') or d.getVar('BOARD_VARIANT'):
10 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'))) 10 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')))
11 11
12 # Check for 'generic' machines, warn the user this isn't what they want
13 if d.getVar('MACHINE').endswith('-generic'):
14 bb.warn('The %s machine is intended to be included by other machines, it should not be used by itself. For a non-machine, SoC specific filesystem, please use one of the common machines defined in meta-xilinx-core.' % d.getVar('MACHINE'))
15
12 msg_list = d.getVarFlags('XILINX_DEPRECATED') or [] 16 msg_list = d.getVarFlags('XILINX_DEPRECATED') or []
13 for msg_source in msg_list: 17 for msg_source in msg_list:
14 if msg_source == "doc": 18 if msg_source == "doc":