Skip to content

Commit 1d8617b

Browse files
kuba-moodavem330
authored andcommitted
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>
1 parent 4e88747 commit 1d8617b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

tools/net/ynl/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ clean distclean:
1818
fi \
1919
done
2020

21-
.PHONY: clean all $(SUBDIRS)
21+
.PHONY: all clean distclean $(SUBDIRS)

tools/net/ynl/lib/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,5 @@ distclean: clean
2424
%.o: %.c
2525
$(COMPILE.c) -MMD -c -o $@ $<
2626

27-
.PHONY: all clean
27+
.PHONY: all clean distclean
2828
.DEFAULT_GOAL=all

tools/net/ynl/samples/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,5 @@ clean:
3131
distclean: clean
3232
rm -f $(BINS)
3333

34-
.PHONY: all clean
34+
.PHONY: all clean distclean
3535
.DEFAULT_GOAL=all

0 commit comments

Comments
 (0)