diff options
author | Ming Liu <ming.liu@toradex.com> | 2022-09-02 14:57:54 +0200 |
---|---|---|
committer | Ming Liu <ming.liu@toradex.com> | 2022-09-06 14:41:20 +0200 |
commit | e70eba7f03a8fd82a508d91d76f4553639863abc (patch) | |
tree | d128dcf60ddbe6f9a2e813cb6185e9cfc07ca0ad | |
parent | 25ae5789570d24d10bb9f9cf860212b259ccbbca (diff) |
toradex-sanity.bbclass: drop toradex-fitimage sanity check
We have dropped toradex-fitimage.bbclass, also drop its sanity check.
Related-to: ELB-4700
Signed-off-by: Ming Liu <ming.liu@toradex.com>
-rw-r--r-- | classes/toradex-sanity.bbclass | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/classes/toradex-sanity.bbclass b/classes/toradex-sanity.bbclass index b30eaa2..19a38cd 100644 --- a/classes/toradex-sanity.bbclass +++ b/classes/toradex-sanity.bbclass @@ -22,14 +22,6 @@ def toradex_check_abichanges(status, d): with open(abifile, "w") as f: f.write(current_abi) -# -# Check fitimage bbclass -# -def toradex_check_fitimage(status, d): - if bb.utils.contains('KERNEL_IMAGETYPE', 'fitImage', True, False, d): - if bb.utils.contains('KERNEL_CLASSES', 'toradex-fitimage', False, True, d): - status.addresult("Error, to build fitImage within Toradex layers, please add toradex-fitimage rather than kernel-fitimage in KERNEL_CLASSES.\n") - def toradex_raise_sanity_error(msg, d): if d.getVar("SANITY_USE_EVENTS") == "1": bb.event.fire(bb.event.SanityCheckFailed(msg), d) @@ -53,7 +45,6 @@ def toradex_check_sanity(sanity_data): status = SanityStatus() toradex_check_abichanges(status, sanity_data) - toradex_check_fitimage(status, sanity_data) if status.messages != "": toradex_raise_sanity_error(sanity_data.expand(status.messages), sanity_data) |