From 35d15b27c968a555f10fa9c4fd5560b79d8d36eb Mon Sep 17 00:00:00 2001 From: Juergen Gross Date: Wed, 12 Jan 2022 08:54:59 +0100 Subject: [PATCH] tools/debugger: fix make distclean "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 Reviewed-by: Jason Andryuk Tested-by: Jason Andryuk Reviewed-by: Jan Beulich Acked-by: Anthony PERARD --- 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.30.2