summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-01-16 10:03:48 +0000
committerEric Andersen <andersen@codepoet.org>2001-01-16 10:03:48 +0000
commit31c580aa61615bcea5625ae884db7ad965bb1829 (patch)
tree339b08a4af0ede91cee0fd814101e9ff2533ba22 /Makefile
parent6fce1235bea41b65a0b7a978c65b908c736365d4 (diff)
linux 2.0.x kernels have broken header files. It is silly to be so
tightly coupled to kernel headers (since the 2.2 ones work with 2.0 as well), so I'm checking in include/net.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 90eb63dcd..23a7046d2 100644
--- a/Makefile
+++ b/Makefile
@@ -43,7 +43,7 @@ halfclean:
@rm -f libc.a
headers: dummy
- @rm -f include/asm include/net include/linux include/bits
+ @rm -f include/asm include/linux include/bits
@ln -s $(KERNEL_SOURCE)/include/asm include/asm
@if [ ! -f include/asm/unistd.h ] ; then \
echo " "; \
@@ -59,7 +59,6 @@ headers: dummy
echo " "; \
sleep 10; \
fi;
- @ln -s $(KERNEL_SOURCE)/include/net include/net
@ln -s $(KERNEL_SOURCE)/include/linux include/linux
@ln -s ../sysdeps/linux/$(TARGET_ARCH)/bits include/bits
@@ -67,8 +66,8 @@ tags:
ctags -R
clean: subdirs_clean
- rm -f libc.a
- rm -f include/asm include/net include/linux include/bits
+ rm -f libc.a libcrt0.o
+ rm -f include/asm include/linux include/bits
subdirs: $(patsubst %, _dir_%, $(DIRS))
subdirs_clean: $(patsubst %, _dirclean_%, $(DIRS) test)
@@ -83,9 +82,7 @@ $(patsubst %, _dirclean_%, $(DIRS) test) : dummy
install: libc.a
rm -f $(INSTALL_DIR)/include/asm
rm -f $(INSTALL_DIR)/include/linux
- rm -f $(INSTALL_DIR)/include/net
ln -s $(KERNEL_SOURCE)/include/asm $(INSTALL_DIR)/include/asm
- ln -s $(KERNEL_SOURCE)/include/net $(INSTALL_DIR)/include/net
ln -s $(KERNEL_SOURCE)/include/linux $(INSTALL_DIR)/include/linux
mkdir -p $(INSTALL_DIR)/include/bits
find include/ -type f -depth -print | cpio -pdmu $(INSTALL_DIR)