summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-03-22 07:53:38 +0000
committerEric Andersen <andersen@codepoet.org>2002-03-22 07:53:38 +0000
commitc85ba8c4b7e5dc2946438c1a91f44da187a20dc0 (patch)
tree7727c91857e9b7706ca3baf24e1c90a72fc17169 /Makefile
parentf07a09b0620792865d473c2dbce914c039d2e20a (diff)
Patch from Miles Bader to be less militant when doing a make clean.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 2633e74d4..dabf92430 100644
--- a/Makefile
+++ b/Makefile
@@ -69,7 +69,7 @@ finished: shared
@echo
headers: dummy
- @- find include -type l -exec rm -f {} \;
+ rm -f include/asm;
@if [ $(TARGET_ARCH) = "powerpc" ];then \
ln -fs $(KERNEL_SOURCE)/include/asm-ppc include/asm; \
elif [ $(TARGET_ARCH) = "v850" ];then \
@@ -107,7 +107,8 @@ headers: dummy
echo " "; \
sleep 10; \
fi;
- @ln -fs $(KERNEL_SOURCE)/include/linux include/linux
+ rm -f include/linux
+ ln -fs $(KERNEL_SOURCE)/include/linux include/linux
rm -rf include/bits
mkdir -p include/bits
@cd include/bits; \