From bca6a155c79147f706242ed7c590a3538e407a40 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Tue, 19 Aug 2003 06:05:34 +0000 Subject: Phase one of my evil plan to clean up ld.so... --- ldso/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'ldso/Makefile') 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 -- cgit v1.2.3