diff options
Diffstat (limited to 'meta-xilinx-core/classes/xilinx-vars.bbclass')
-rw-r--r-- | meta-xilinx-core/classes/xilinx-vars.bbclass | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/meta-xilinx-core/classes/xilinx-vars.bbclass b/meta-xilinx-core/classes/xilinx-vars.bbclass index 51d3cd87..e19918ca 100644 --- a/meta-xilinx-core/classes/xilinx-vars.bbclass +++ b/meta-xilinx-core/classes/xilinx-vars.bbclass | |||
@@ -6,15 +6,6 @@ xilinx_variables_config_eventhandler[eventmask] = "bb.event.ConfigParsed" | |||
6 | # It's up to the base sytem to define the variables being used here, we're | 6 | # It's up to the base sytem to define the variables being used here, we're |
7 | # only going to check them. | 7 | # only going to check them. |
8 | python xilinx_variables_config_eventhandler () { | 8 | python xilinx_variables_config_eventhandler () { |
9 | # Verify HDF_MACHINE | ||
10 | hdf_prior = d.getVar('HDF_MACHINE_PRIOR') | ||
11 | hdf_final = d.getVar('HDF_MACHINE') | ||
12 | |||
13 | if hdf_prior and hdf_prior != hdf_final: | ||
14 | bb.fatal("HDF_MACHINE is set to %s, it appears you intended %s. " \ | ||
15 | "This is usually as a result of specifying it in the local.conf or before the 'require' in the machine .conf file. " \ | ||
16 | "See meta-xilinx-core/conf/machine/README." % (hdf_final, hdf_prior)) | ||
17 | |||
18 | # Verify DEFAULTTUNE | 9 | # Verify DEFAULTTUNE |
19 | tune_prior = d.getVar('DEFAULTTUNE_PRIOR') | 10 | tune_prior = d.getVar('DEFAULTTUNE_PRIOR') |
20 | tune_final = d.getVar('DEFAULTTUNE') | 11 | tune_final = d.getVar('DEFAULTTUNE') |
@@ -26,7 +17,7 @@ python xilinx_variables_config_eventhandler () { | |||
26 | 17 | ||
27 | # Verify 'xilinx' is in LICENSE_FLAGS_ACCEPTED | 18 | # Verify 'xilinx' is in LICENSE_FLAGS_ACCEPTED |
28 | license_flags = d.getVar('LICENSE_FLAGS_ACCEPTED') or "" | 19 | license_flags = d.getVar('LICENSE_FLAGS_ACCEPTED') or "" |
29 | if 'xilinx' not in license_flags.split(): | 20 | if all(license not in license_flags.split() for license in ['xilinx', 'xilinx_pmu-rom-native']) : |
30 | bb.warn("The ZynqMP pmu-rom is not enabled, qemu may not be able to emulate a ZynqMP system without it. " \ | 21 | bb.warn("The ZynqMP pmu-rom is not enabled, qemu may not be able to emulate a ZynqMP system without it. " \ |
31 | "To enable this you must add 'xilinx' to the LICENSE_FLAGS_ACCEPTED to indicate you accept the software license.") | 22 | "To enable this you must add 'xilinx' to the LICENSE_FLAGS_ACCEPTED to indicate you accept the software license.") |
32 | } | 23 | } |