From 281218fabe8a37311ba8dcc934e65874456ae174 Mon Sep 17 00:00:00 2001 From: Ming Liu Date: Fri, 2 Sep 2022 14:57:54 +0200 Subject: 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 (cherry picked from commit e70eba7f03a8fd82a508d91d76f4553639863abc) --- classes/toradex-sanity.bbclass | 9 --------- 1 file changed, 9 deletions(-) (limited to 'classes') 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) -- cgit v1.2.3