Skip to contentSkip to conversation

tools: Fix helpers build

PATCH In review Mykyta Poturai 3 participants 3 messages May 18 – May 20

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tools: Fix helpers build

Init helpers sometimes fail to rebuild after switching branches, which results in runtime faults.

Fix this by adding missing DEPS_INCLUDE to the Makefile.

---
 tools/helpers/Makefile | 2 ++
 1 file changed, 2 insertions(+)
tools/helpers/Makefile +2 -0
index 8262d9e75a..11db7d8982 100644
@@ -64,3 +64,5 @@ clean:
 	$(RM) *.o $(TARGETS) $(DEPS_RM)
 
 distclean: clean
+
+-include $(DEPS_INCLUDE)
Signature · 1 line
2.51.2
Reviewed-by on v1 1/1
#1 lore raw
Quoted 6 lines · Mykyta Poturai

Init helpers sometimes fail to rebuild after switching branches, which results in runtime faults.

Fix this by adding missing DEPS_INCLUDE to the Makefile.

Quoted 17 lines
---
 tools/helpers/Makefile | 2 ++
 1 file changed, 2 insertions(+)
tools/helpers/Makefile +2 -0
index 8262d9e75a..11db7d8982 100644
@@ -64,3 +64,5 @@ clean:
 	$(RM) *.o $(TARGETS) $(DEPS_RM)
 
 distclean: clean
+
+-include $(DEPS_INCLUDE)
Signature · 1 line
2.51.2
Acked-by on v1 1/1
#2 lore raw
In reply to Mykyta Poturai
Quoted 6 lines · Mykyta Poturai

Init helpers sometimes fail to rebuild after switching branches, which results in runtime faults.

Fix this by adding missing DEPS_INCLUDE to the Makefile.

That's not really a complete fix, but that will help, and that's the best our current build system can do.

Thanks,

--
Anthony Perard | Vates XCP-ng Developer

XCP-ng & Xen Orchestra - Vates solutions

web: https://vates.tech