From c7a80bc50ac768b4eecaad85b77ae45790c93c73 Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Tue, 15 Mar 2022 12:09:56 +0100 Subject: [PATCH] Arm: arrange to have linker script honor dependencies (again) The if_changed macro leads to dependencies being recorded in .*.d, which aren't loaded anymore. Use if_changed_dep instead, like x86 does. Fixes: 06ef696c85a7 ("build: introduce if_changed_deps") Signed-off-by: Jan Beulich Acked-by: Julien Grall --- xen/arch/arm/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/arch/arm/Makefile b/xen/arch/arm/Makefile index cecfaf4f3c..51ec2ba928 100644 --- a/xen/arch/arm/Makefile +++ b/xen/arch/arm/Makefile @@ -112,7 +112,7 @@ $(TARGET)-syms: $(BASEDIR)/prelink.o $(obj)/xen.lds include: $(obj)/xen.lds: $(src)/xen.lds.S FORCE - $(call if_changed,cpp_lds_S) + $(call if_changed_dep,cpp_lds_S) $(obj)/dtb.o: $(patsubst "%",%,$(CONFIG_DTB_FILE)) -- 2.30.2