summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-01-01 22:16:11 +0000
committerEric Andersen <andersen@codepoet.org>2001-01-01 22:16:11 +0000
commit8c29d069db1898b519c6c610a91a25b5ffb8c9d0 (patch)
treee2c90d09cd3329d33b26b53f0a2491e6a81a2025 /Makefile
parent67d0b8edf6c8c19366c4507d8453216d007397cd (diff)
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.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 6 insertions, 4 deletions
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))