All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] build: fix make distclean
@ 2022-01-09 10:01 Juergen Gross
  2022-01-09 18:10 ` Jason Andryuk
  2022-01-10  8:42 ` Jan Beulich
  0 siblings, 2 replies; 5+ messages in thread
From: Juergen Gross @ 2022-01-09 10:01 UTC (permalink / raw)
  To: xen-devel; +Cc: Juergen Gross, Elena Ufimtseva, Wei Liu, Anthony PERARD

"make distclean" will complain that "-c" is no supported flag for make.

Fix that by using "-C".

The error has been present for a long time, but it was uncovered only
recently.

Fixes: 2400a9a365c5619 ("tools/debugger: Allow make to recurse into debugger/")
Fixes: f9c9b127753e9ed ("tools: fix make distclean")
Signed-off-by: Juergen Gross <jgross@suse.com>
---
 tools/debugger/gdbsx/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/debugger/gdbsx/Makefile b/tools/debugger/gdbsx/Makefile
index 8d7cd94a31..5571450a89 100644
--- a/tools/debugger/gdbsx/Makefile
+++ b/tools/debugger/gdbsx/Makefile
@@ -14,7 +14,7 @@ clean:
 
 .PHONY: distclean
 distclean: clean
-	set -e; for d in xg gx; do $(MAKE) -c $$d distclean; done
+	set -e; for d in xg gx; do $(MAKE) -C $$d distclean; done
 
 .PHONY: install
 install: all
-- 
2.26.2



^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-01-11 12:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-09 10:01 [PATCH] build: fix make distclean Juergen Gross
2022-01-09 18:10 ` Jason Andryuk
2022-01-10  8:42 ` Jan Beulich
2022-01-10  9:04   ` Juergen Gross
2022-01-11 12:13     ` Anthony PERARD

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.