From: Quentin Schulz Date: Fri, 2 Sep 2022 13:10:53 +0000 (+0200) Subject: rockchip: simplify binman image dependencies addition to INPUTS X-Git-Tag: v2022.10~29^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a6e569fac3cb44bcb58b3c41b3126f5d8d7b8ba1;p=platform%2Fkernel%2Fu-boot.git rockchip: simplify binman image dependencies addition to INPUTS By factoring SPL check in the first condition, this makes the checks a bit less convoluted and more readable. Cc: Quentin Schulz Signed-off-by: Quentin Schulz Reviewed-by: Kever Yang Reviewed-by: Simon Glass --- diff --git a/Makefile b/Makefile index 1dee09e..736c4ad 100644 --- a/Makefile +++ b/Makefile @@ -1001,19 +1001,14 @@ ifeq ($(CONFIG_MPC85xx)$(CONFIG_OF_SEPARATE),yy) INPUTS-y += u-boot-with-dtb.bin endif -ifeq ($(CONFIG_ARCH_ROCKCHIP),y) -# On ARM64 this target is produced by binman so we don't need this dep +ifeq ($(CONFIG_ARCH_ROCKCHIP)$(CONFIG_SPL),yy) +# Binman image dependencies ifeq ($(CONFIG_ARM64),y) -ifeq ($(CONFIG_SPL),y) INPUTS-y += u-boot.itb -endif else -ifeq ($(CONFIG_SPL),y) -# Generate these inputs for binman which will create the output files INPUTS-y += u-boot.img endif endif -endif INPUTS-$(CONFIG_X86) += u-boot-x86-start16.bin u-boot-x86-reset16.bin \ $(if $(CONFIG_SPL_X86_16BIT_INIT),spl/u-boot-spl.bin) \