From a99534354a538573770d2b9835856fcfc017dab1 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Mon, 27 Jan 2003 22:11:59 +0000 Subject: [PATCH] Don't wipe the config system on 'make clean' --- Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 55605af88..36fc4118f 100644 --- a/Makefile +++ b/Makefile @@ -209,16 +209,17 @@ clean: docs/busybox.pdf docs/busybox.pod docs/busybox.net/busybox.html \ docs/busybox _install pod2htm* *.gdb *.elf *~ core - rm -f busybox busybox.links libbb/loop.h .config.old .hdepend - - rm -f scripts/split-include scripts/mkdep .*config.log - - rm -rf include/config include/config.h + - rm -f .*config.log - find . -name .\*.flags -exec rm -f {} \; - - find . -name .depend -exec rm -f {} \; - find . -name \*.o -exec rm -f {} \; - find . -name \*.a -exec rm -f {} \; - - $(MAKE) -C scripts/config clean distclean: clean + - rm -f scripts/split-include scripts/mkdep + - rm -rf include/config include/config.h + - find . -name .depend -exec rm -f {} \; rm -f .config .config.old .config.cmd + - $(MAKE) -C scripts/config clean release: distclean #doc cd ..; \