As described in the README.md, user can enable the 'xilinx' license on a per-package basis (i.e. 'xilinx_pmu-rom-native') in LICENSE_FLAGS_ACCEPTED. This patch updates the license flag check to reflect that possibility.
Signed-off-by: Adrian Fiergolski <[email protected]> --- meta-xilinx-core/classes/xilinx-vars.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-xilinx-core/classes/xilinx-vars.bbclass b/meta-xilinx-core/classes/xilinx-vars.bbclass index 51d3cd87..19cf8771 100644 --- a/meta-xilinx-core/classes/xilinx-vars.bbclass +++ b/meta-xilinx-core/classes/xilinx-vars.bbclass @@ -26,7 +26,7 @@ python xilinx_variables_config_eventhandler () { # Verify 'xilinx' is in LICENSE_FLAGS_ACCEPTED license_flags = d.getVar('LICENSE_FLAGS_ACCEPTED') or "" - if 'xilinx' not in license_flags.split(): + if all(license not in license_flags.split() for license in ['xilinx', 'xilinx_pmu-rom-native']) : bb.warn("The ZynqMP pmu-rom is not enabled, qemu may not be able to emulate a ZynqMP system without it. " \ "To enable this you must add 'xilinx' to the LICENSE_FLAGS_ACCEPTED to indicate you accept the software license.") } -- 2.34.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#5424): https://lists.yoctoproject.org/g/meta-xilinx/message/5424 Mute This Topic: https://lists.yoctoproject.org/mt/106652254/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/meta-xilinx/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
