diff options
| author | Mark Hatle <mark.hatle@amd.com> | 2023-01-23 12:21:22 -0800 |
|---|---|---|
| committer | Mark Hatle <mark.hatle@amd.com> | 2023-01-25 07:24:20 -0800 |
| commit | af6c729003d6d7dba11d88fde05b93467cbaf1d0 (patch) | |
| tree | 6065bc468c207669d123d2642be28c3e0384b5c9 | |
| parent | 79c14c72cbb41be3c1f818ee329538eed0d0c534 (diff) | |
| download | meta-xilinx-af6c729003d6d7dba11d88fde05b93467cbaf1d0.tar.gz | |
xilinx-deprecated: Using BOARD and BOARD_VARIANT is now an error
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
| -rw-r--r-- | meta-xilinx-core/classes/xilinx-deprecated.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
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" | |||
| 7 | python xilinx_deprecated_config_eventhandler () { | 7 | python xilinx_deprecated_config_eventhandler () { |
| 8 | # Check for BOARD & BOARD_VARIANT usage | 8 | # Check for BOARD & BOARD_VARIANT usage |
| 9 | if d.getVar('BOARD') or d.getVar('BOARD_VARIANT'): | 9 | if d.getVar('BOARD') or d.getVar('BOARD_VARIANT'): |
| 10 | 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'))) | 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 | msg_list = d.getVarFlags('XILINX_DEPRECATED') or [] | 12 | msg_list = d.getVarFlags('XILINX_DEPRECATED') or [] |
| 13 | for msg_source in msg_list: | 13 | for msg_source in msg_list: |
