summaryrefslogtreecommitdiff
path: root/ldso/Makefile
diff options
context:
space:
mode:
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 23626f5e3..34d36a914 100644
--- a/ldso/Makefile
+++ b/ldso/Makefile
@@ -1,12 +1,19 @@
+TOPDIR=../
+include $(TOPDIR)Rules.mak
include Config.mk
SUBDIRS = util d-link # man
+TARGETDIR=/usr/$(TARGET_ARCH)-linux-uclibc
+
+
all:
set -e ; for d in $(SUBDIRS) ; do $(MAKE) -C $$d ; done
install: all
- sh instldso.sh
+ mkdir -p $(TARGETDIR)/etc
+ cp -a ./d-link/ld-linux-uclibc.so.1 ./d-link/libdl/libdl.so.1 $(TARGETDIR)/lib
+ ./util/ldconfig
clean:
set -e ; for d in $(SUBDIRS) ; do $(MAKE) -C $$d $@ ; done