summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-10-12 08:49:34 +0000
committerEric Andersen <andersen@codepoet.org>2003-10-12 08:49:34 +0000
commit042768df2bb06227e4edf47e03985ec0dc907f66 (patch)
treebe0afedf60315a50e0f2f8dabc6a33923c8fa892 /Makefile
parentc5d758fb1422604d727814b4633c370d2ea7956a (diff)
Always build and install ldconfig
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 5 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index d0da77cbd..5284c502f 100644
--- a/Makefile
+++ b/Makefile
@@ -346,16 +346,13 @@ endif
install_target_utils:
ifeq ($(strip $(HAVE_SHARED)),y)
- @$(MAKE) -C ldso/util ldd.target readelf.target #ldconfig.target
+ @$(MAKE) -C ldso/util ldd.target ldconfig.target #readelf.target
+ install -d $(PREFIX)$(TARGET_PREFIX)/etc;
+ install -d $(PREFIX)$(TARGET_PREFIX)/sbin;
install -d $(PREFIX)$(TARGET_PREFIX)/usr/bin;
install -m 755 ldso/util/ldd.target $(PREFIX)$(TARGET_PREFIX)/usr/bin/ldd
- install -m 755 ldso/util/readelf.target $(PREFIX)$(TARGET_PREFIX)/usr/bin/readelf
- @if [ -x ldso/util/ldconfig.target ] ; then \
- set -x -e; \
- install -d $(PREFIX)$(TARGET_PREFIX)/etc; \
- install -d $(PREFIX)$(TARGET_PREFIX)/sbin; \
- install -m 755 ldso/util/ldconfig.target $(PREFIX)$(TARGET_PREFIX)/sbin/ldconfig; \
- fi;
+ install -m 755 ldso/util/ldconfig.target $(PREFIX)$(TARGET_PREFIX)/sbin/ldconfig;
+ #install -m 755 ldso/util/readelf.target $(PREFIX)$(TARGET_PREFIX)/usr/bin/readelf;
endif
ifeq ($(strip $(UCLIBC_HAS_LOCALE)),y)
@$(MAKE) -C libc/misc/wchar iconv.target