summaryrefslogtreecommitdiff
path: root/ldso/Makefile
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-08-19 06:05:34 +0000
committerEric Andersen <andersen@codepoet.org>2003-08-19 06:05:34 +0000
commitbca6a155c79147f706242ed7c590a3538e407a40 (patch)
tree17c7d7784edc61f3984fb3255672f3ecfe826d22 /ldso/Makefile
parentfd47fd4039cadf42620bbfce43c3a0338e23ee26 (diff)
Phase one of my evil plan to clean up ld.so...
Diffstat (limited to 'ldso/Makefile')
-rw-r--r--ldso/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/ldso/Makefile b/ldso/Makefile
index d0a133bf7..dcf83be52 100644
--- a/ldso/Makefile
+++ b/ldso/Makefile
@@ -26,7 +26,7 @@ include $(TOPDIR)Rules.mak
ALL_SUBDIRS = ldso libdl util
-all:
+all: headers
ifeq ($(strip $(BUILD_UCLIBC_LDSO)),y)
$(MAKE) -C ldso;
else
@@ -43,6 +43,13 @@ endif
utils:
$(MAKE) -C util;
+headers:
+ ln -fs $(TOPDIR)../include/elf.h include/
+ ln -fs ../ldso/$(TARGET_ARCH)/boot1_arch.h include/
+ ln -fs ../ldso/$(TARGET_ARCH)/ld_syscalls.h include/
+ ln -fs ../ldso/$(TARGET_ARCH)/ld_sysdep.h include/
+
clean:
set -e ; for d in $(ALL_SUBDIRS) ; do $(MAKE) -C $$d $@ ; done
-find . -name '*~' | xargs rm -f
+ rm -f include/elf.h include/boot1_arch.h include/ld_syscalls.h include/ld_sysdep.h