tools: ynl: add distclean to .PHONY in all makefiles

Donald points out most YNL makefiles are missing distclean
in .PHONY, even tho generated/Makefile does list it.

Suggested-by: Donald Hunter <donald.hunter@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: Donald Hunter <donald.hunter@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Jakub Kicinski 2024-03-04 21:13:27 -08:00 committed by David S. Miller
parent 4e887471e8
commit 1d8617b2a6
3 changed files with 3 additions and 3 deletions

View File

@ -18,4 +18,4 @@ clean distclean:
fi \
done
.PHONY: clean all $(SUBDIRS)
.PHONY: all clean distclean $(SUBDIRS)

View File

@ -24,5 +24,5 @@ distclean: clean
%.o: %.c
$(COMPILE.c) -MMD -c -o $@ $<
.PHONY: all clean
.PHONY: all clean distclean
.DEFAULT_GOAL=all

View File

@ -31,5 +31,5 @@ clean:
distclean: clean
rm -f $(BINS)
.PHONY: all clean
.PHONY: all clean distclean
.DEFAULT_GOAL=all