summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-03-01 21:53:36 +0000
committerEric Andersen <andersen@codepoet.org>2002-03-01 21:53:36 +0000
commit7589fd62869c2c76645022ed00836bfecf5c54c1 (patch)
treea3f144ef7aecd95042cb00c275d8865112d381e6
parent45fcfc2f48985c2f56836c019f14ae44f4c07fd7 (diff)
Doh!
-rw-r--r--Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 975a325a9..73542e087 100644
--- a/Makefile
+++ b/Makefile
@@ -63,7 +63,7 @@ finished: shared
@echo Finally finished compiling...
@echo
-headers: dummy
+headers1: dummy
@- find include -type l -exec rm -f {} \;
@if [ $(TARGET_ARCH) = "powerpc" ];then \
ln -fs $(KERNEL_SOURCE)/include/asm-ppc include/asm; \
@@ -115,14 +115,16 @@ headers: dummy
done; \
fi
@cd include/sys; \
- for i in ../../libc/sysdeps/linux/common/sys/*.h ; do \
+ for i in `ls ../../libc/sysdeps/linux/common/sys/*.h` ; do \
ln -fs $$i .; \
done; \
if [ -d ../../libc/sysdeps/linux/$(TARGET_ARCH)/sys ] ; then \
- for i in ../../libc/sysdeps/linux/$(TARGET_ARCH)/sys/*.h ; do \
+ for i in `ls ../../libc/sysdeps/linux/$(TARGET_ARCH)/sys/*.h` ; do \
ln -fs $$i .; \
done; \
fi
+
+headers:
$(MAKE) -C libc/sysdeps/linux/$(TARGET_ARCH) headers
uClibc_config: Makefile Config