summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ldso/Makefile9
-rw-r--r--ldso/ldso/.cvsignore2
-rw-r--r--ldso/libdl/.cvsignore2
-rw-r--r--ldso/util/.cvsignore2
4 files changed, 14 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
diff --git a/ldso/ldso/.cvsignore b/ldso/ldso/.cvsignore
new file mode 100644
index 000000000..2b84b754f
--- /dev/null
+++ b/ldso/ldso/.cvsignore
@@ -0,0 +1,2 @@
+ld-linux-uclibc.so.1
+
diff --git a/ldso/libdl/.cvsignore b/ldso/libdl/.cvsignore
new file mode 100644
index 000000000..6a74fc0be
--- /dev/null
+++ b/ldso/libdl/.cvsignore
@@ -0,0 +1,2 @@
+libdl.so.1
+
diff --git a/ldso/util/.cvsignore b/ldso/util/.cvsignore
new file mode 100644
index 000000000..65cb593d4
--- /dev/null
+++ b/ldso/util/.cvsignore
@@ -0,0 +1,2 @@
+ldd
+ldconfig