summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-06-23 05:18:22 +0000
committerEric Andersen <andersen@codepoet.org>2002-06-23 05:18:22 +0000
commit871fdfa915755d46393ca3ee38024b37cc431498 (patch)
tree1180171ca9b91db85583956f39e02ff2f93fb7c9
parent2081c731023f53c98567cf95d9d83ba91bd28681 (diff)
Fixup target util handling
-Erik
-rw-r--r--Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 4934ffc6f..e0228ca71 100644
--- a/Makefile
+++ b/Makefile
@@ -286,12 +286,7 @@ install_toolchain:
install -d $(PREFIX)$(SYSTEM_DEVEL_PREFIX)/bin
$(MAKE) -C extra/gcc-uClibc install
-util:
-ifeq ($(strip $(HAVE_SHARED)),true)
- @$(MAKE) -C ldso utils
-endif
-
-install_utils: util
+install_utils:
ifeq ($(strip $(HAVE_SHARED)),true)
@$(MAKE) -C ldso utils
install -m 755 ldso/util/ldd $(PREFIX)$(DEVEL_PREFIX)/bin
@@ -330,8 +325,9 @@ ifeq ($(strip $(HAVE_SHARED)),true)
fi;
endif
-install_target_utils: util
+install_target_utils:
ifeq ($(strip $(HAVE_SHARED)),true)
+ @$(MAKE) -C ldso/util ldd.target readelf.target ldconfig.target
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 \