From: Jan Beulich Date: Thu, 15 Oct 2020 15:18:25 +0000 (+0200) Subject: tools/gdbsx: drop stray recursion into tools/include/ X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=6ee2e66674f36b6d27a95f4ddf27226905cc63a4;p=people%2Fsstabellini%2Fxen-unstable.git%2F.git tools/gdbsx: drop stray recursion into tools/include/ Doing so isn't appropriate here - this gets done very early in the build process. If the directory is mean to to be buildable on its own, different arrangements would be needed. The issue has become more pronounced by 47654a0d7320 ("tools/include: fix (drop) dependencies of when to populate xen/"), but was there before afaict. Signed-off-by: Jan Beulich Reviewed-by: Ian Jackson --- diff --git a/tools/debugger/gdbsx/xg/Makefile b/tools/debugger/gdbsx/xg/Makefile index 6a8937b8f9..acdcddf0d5 100644 --- a/tools/debugger/gdbsx/xg/Makefile +++ b/tools/debugger/gdbsx/xg/Makefile @@ -12,7 +12,7 @@ CFLAGS += $(CFLAGS_xeninclude) all: build .PHONY: build -build: xen-headers xg_all.a $(XG_HDRS) $(XG_OBJS) Makefile +build: xg_all.a $(XG_HDRS) $(XG_OBJS) Makefile # build: mk-symlinks xg_all.a $(XG_HDRS) $(XG_OBJS) Makefile # build: mk-symlinks xg_all.a @@ -21,9 +21,6 @@ xg_all.a: $(XG_OBJS) Makefile $(XG_HDRS) # $(LD) -b elf32-i386 $(LDFLAGS) -r -o $@ $^ # $(CC) -m32 -c -o $@ $^ -xen-headers: - $(MAKE) -C ../../../include - # xg_main.o: xg_main.c Makefile $(XG_HDRS) #$(CC) -c $(CFLAGS) -o $@ $<