]> xenbits.xensource.com Git - people/tklengyel/xen.git/commitdiff
Arm: arrange to have linker script honor dependencies (again)
authorJan Beulich <jbeulich@suse.com>
Tue, 15 Mar 2022 11:09:56 +0000 (12:09 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 15 Mar 2022 11:09:56 +0000 (12:09 +0100)
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 <jbeulich@suse.com>
Acked-by: Julien Grall <jgrall@amazon.com>
xen/arch/arm/Makefile

index cecfaf4f3c0fc98f88f035f4d031264694b5a6df..51ec2ba928e3a5947dd97bdc6785bdb1297825f9 100644 (file)
@@ -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))