busybox target wasnt checking .depend, clean kbuild binaries only on distclean
diff --git a/Makefile b/Makefile
index 58e397c..c34b32b 100644
--- a/Makefile
+++ b/Makefile
@@ -39,7 +39,7 @@
-include .config.cmd
include $(patsubst %,%/Makefile.in, $(DIRS))
-busybox: depend $(libraries-y)
+busybox: .depend $(libraries-y)
$(CC) $(LDFLAGS) -o $@ $(libraries-y) $(LIBRARIES)
$(STRIPCMD) $@
@@ -203,7 +203,6 @@
clean:
- $(MAKE) -C tests clean
- - $(MAKE) -C scripts/config clean
- rm -f docs/BusyBox.txt docs/BusyBox.1 docs/BusyBox.html \
docs/busybox.net/BusyBox.html
- rm -f docs/busybox.txt docs/busybox.dvi docs/busybox.ps \
@@ -218,6 +217,7 @@
- find . -name \*.a -exec rm -f {} \;
distclean: clean
+ - $(MAKE) -C scripts/config clean
rm -f .config .config.old .config.cmd
release: distclean #doc