From: Juergen Gross Date: Wed, 12 Jan 2022 07:54:59 +0000 (+0100) Subject: tools/debugger: fix make distclean X-Git-Tag: archive/raspbian/4.17.0-1+rpi1^2~33^2~1161 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=35d15b27c968a555f10fa9c4fd5560b79d8d36eb;p=xen.git 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 --- 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