arm: stm32mp: stm32prog: use IS_ENABLED to prevent ifdef
[platform/kernel/u-boot.git] / Makefile
index 2629a74..4483a9b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1024,9 +1024,13 @@ PHONY += inputs
 inputs: $(INPUTS-y)
 
 all: .binman_stamp inputs
+       # Hack for sunxi which doesn't have a proper binman definition for
+       # 64-bit boards
+ifneq ($(CONFIG_ARCH_SUNXI)$(CONFIG_ARM64),yy)
 ifeq ($(CONFIG_BINMAN),y)
        $(call if_changed,binman)
 endif
+endif
 
 # Timestamp file to make sure that binman always runs
 .binman_stamp: FORCE