summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-core/classes/xilinx-vars.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta-xilinx-core/classes/xilinx-vars.bbclass')
-rw-r--r--meta-xilinx-core/classes/xilinx-vars.bbclass6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta-xilinx-core/classes/xilinx-vars.bbclass b/meta-xilinx-core/classes/xilinx-vars.bbclass
index a1a0e38c..51d3cd87 100644
--- a/meta-xilinx-core/classes/xilinx-vars.bbclass
+++ b/meta-xilinx-core/classes/xilinx-vars.bbclass
@@ -23,4 +23,10 @@ python xilinx_variables_config_eventhandler () {
23 bb.fatal("The loaded DEFAULTTUNE is %s, but it appears you intended %s. " \ 23 bb.fatal("The loaded DEFAULTTUNE is %s, but it appears you intended %s. " \
24 "This is usually as a result of specifying it after the 'require' in the machine .conf file. " \ 24 "This is usually as a result of specifying it after the 'require' in the machine .conf file. " \
25 "See meta-xilinx-core/conf/machine/README." % (tune_prior, tune_final)) 25 "See meta-xilinx-core/conf/machine/README." % (tune_prior, tune_final))
26
27 # Verify 'xilinx' is in LICENSE_FLAGS_ACCEPTED
28 license_flags = d.getVar('LICENSE_FLAGS_ACCEPTED') or ""
29 if 'xilinx' not in license_flags.split():
30 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.")
26} 32}