Skip to contentSkip to conversation

Arm: arrange to have linker script honor dependencies (again)

PATCH In review Jan Beulich 2 participants 2 messages Mar 14, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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")
xen/arch/arm/Makefile +1 -1
@@ -112,7 +112,7 @@ $(TARGET)-syms: $(BASEDIR)/prelink.o $(o
 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))