mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00
tools: ynl: rename make hardclean -> distclean
The make target to remove all generated files used to be called "hardclean" because it deleted files which were tracked by git. We no longer track generated user space files, so use the more common "distclean" name. 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:
parent
db72b6fc8f
commit
4e887471e8
4 changed files with 5 additions and 5 deletions
|
@ -11,7 +11,7 @@ $(SUBDIRS):
|
|||
$(MAKE) -C $@ ; \
|
||||
fi
|
||||
|
||||
clean hardclean:
|
||||
clean distclean:
|
||||
@for dir in $(SUBDIRS) ; do \
|
||||
if [ -f "$$dir/Makefile" ] ; then \
|
||||
$(MAKE) -C $$dir $@; \
|
||||
|
|
|
@ -43,11 +43,11 @@ protos.a: $(OBJS)
|
|||
clean:
|
||||
rm -f *.o
|
||||
|
||||
hardclean: clean
|
||||
distclean: clean
|
||||
rm -f *.c *.h *.a
|
||||
|
||||
regen:
|
||||
@../ynl-regen.sh
|
||||
|
||||
.PHONY: all clean hardclean regen
|
||||
.PHONY: all clean distclean regen
|
||||
.DEFAULT_GOAL: all
|
||||
|
|
|
@ -18,7 +18,7 @@ ynl.a: $(OBJS)
|
|||
clean:
|
||||
rm -f *.o *.d *~
|
||||
|
||||
hardclean: clean
|
||||
distclean: clean
|
||||
rm -f *.a
|
||||
|
||||
%.o: %.c
|
||||
|
|
|
@ -28,7 +28,7 @@ $(BINS): ../lib/ynl.a ../generated/protos.a $(SRCS)
|
|||
clean:
|
||||
rm -f *.o *.d *~
|
||||
|
||||
hardclean: clean
|
||||
distclean: clean
|
||||
rm -f $(BINS)
|
||||
|
||||
.PHONY: all clean
|
||||
|
|
Loading…
Add table
Reference in a new issue