summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2001-05-26 01:48:56 +0000
committerDavid Schleef <ds@schleef.org>2001-05-26 01:48:56 +0000
commit86cffec4d5a8aa8c54bb3653cd289f4b92bfa3e1 (patch)
tree8a7c4e2ff510e83050d9d12d916edb2d53d11d4d /Makefile
parentd0c0ebb78efe2fba3132c78c70b26373b4660353 (diff)
Makefile targets to symlink arch-specific headers into include/ (only
used on mipsel.)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7894ca733..367d5e990 100644
--- a/Makefile
+++ b/Makefile
@@ -69,6 +69,7 @@ headers: dummy
@ln -s $(KERNEL_SOURCE)/include/linux include/linux
@ln -s ../libc/sysdeps/linux/$(TARGET_ARCH)/bits include/bits
(cd include/bits; ln -sf ../../../../../uClibc_config.h uClibc_config.h)
+ make -C libc/sysdeps/linux/$(TARGET_ARCH) headers
uClibc_config.h: Config
@echo "/* WARNING!!! AUTO-GENERATED FILE!!! DO NOT EDIT!!! */" > uClibc_config.h
@@ -169,7 +170,7 @@ install_dev:
clean:
@rm -rf tmp lib
- rm -f include/asm include/linux include/bits uClibc_config.h
+ - find include -type l -exec rm -f {} \;
- find . \( -name \*.o -o -name \*.a -o -name \*.so -o -name core \) -exec rm -f {} \;
.PHONY: dummy subdirs