busybox target wasnt checking .depend, clean kbuild binaries only on distclean

This commit is contained in:
Glenn L McGrath 2002-12-20 06:03:47 +00:00
parent 0f18271a8a
commit e86e4a2282

View File

@ -39,7 +39,7 @@ all: busybox busybox.links #doc
-include .config.cmd -include .config.cmd
include $(patsubst %,%/Makefile.in, $(DIRS)) include $(patsubst %,%/Makefile.in, $(DIRS))
busybox: depend $(libraries-y) busybox: .depend $(libraries-y)
$(CC) $(LDFLAGS) -o $@ $(libraries-y) $(LIBRARIES) $(CC) $(LDFLAGS) -o $@ $(libraries-y) $(LIBRARIES)
$(STRIPCMD) $@ $(STRIPCMD) $@
@ -203,7 +203,6 @@ check: busybox
clean: clean:
- $(MAKE) -C tests clean - $(MAKE) -C tests clean
- $(MAKE) -C scripts/config clean
- rm -f docs/BusyBox.txt docs/BusyBox.1 docs/BusyBox.html \ - rm -f docs/BusyBox.txt docs/BusyBox.1 docs/BusyBox.html \
docs/busybox.net/BusyBox.html docs/busybox.net/BusyBox.html
- rm -f docs/busybox.txt docs/busybox.dvi docs/busybox.ps \ - rm -f docs/busybox.txt docs/busybox.dvi docs/busybox.ps \
@ -218,6 +217,7 @@ clean:
- find . -name \*.a -exec rm -f {} \; - find . -name \*.a -exec rm -f {} \;
distclean: clean distclean: clean
- $(MAKE) -C scripts/config clean
rm -f .config .config.old .config.cmd rm -f .config .config.old .config.cmd
release: distclean #doc release: distclean #doc