From 8c29d069db1898b519c6c610a91a25b5ffb8c9d0 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Mon, 1 Jan 2001 22:16:11 +0000 Subject: A bunch of updates, part from Manuel Novoa III (such as more long long support), and other updates by me (better cross platform, cross-compiler, etc, support. Now compiles with 2.0.x kernels for armnommu. --- Makefile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 2fe3168e6..f2a7a44d8 100644 --- a/Makefile +++ b/Makefile @@ -42,16 +42,18 @@ halfclean: @rm -f libc.a headers: dummy - @if [ ! -L "include/asm" ]; then ln -s /usr/include/asm include/asm ; fi - @if [ ! -L "include/net" ]; then ln -s /usr/include/net include/net ; fi - @if [ ! -L "include/linux" ]; then ln -s /usr/include/linux include/linux ; fi - @if [ ! -L "include/bits" ]; then ln -s ../sysdeps/linux/$(ARCH)/bits include/bits ; fi + @rm -f include/asm include/net include/linux include/bits + @ln -s $(KERNEL_SOURCE)/include/asm-$(ARCH_DIR) include/asm + @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 tags: ctags -R clean: subdirs_clean rm -f libc.a + rm -f include/asm include/net include/linux include/bits subdirs: $(patsubst %, _dir_%, $(DIRS)) subdirs_clean: $(patsubst %, _dirclean_%, $(DIRS)) -- cgit v1.2.3