Explorar o código

image: Fix inverted logic in architecture check.

Commit 476af29 broke this check when the ifdef lists we consolidated.

Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Acked-by: Mike Frysinger <vapier@gentoo.org>
Thierry Reding %!s(int64=13) %!d(string=hai) anos
pai
achega
7566832a88
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      include/image.h

+ 1 - 1
include/image.h

@@ -615,7 +615,7 @@ void fit_conf_print(const void *fit, int noffset, const char *p);
 #ifndef USE_HOSTCC
 static inline int fit_image_check_target_arch(const void *fdt, int node)
 {
-	return !fit_image_check_arch(fdt, node, IH_ARCH_DEFAULT);
+	return fit_image_check_arch(fdt, node, IH_ARCH_DEFAULT);
 }
 #endif /* USE_HOSTCC */