summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-05-30 12:17:51 +0000
committerEric Andersen <andersen@codepoet.org>2002-05-30 12:17:51 +0000
commitf340581fb845e9d8fe31a4d46733fe86e33944a3 (patch)
tree740aaf71b7b00206439beebf290d0c51154a9a1b /Makefile
parent206b563a0ca5d2139f2ebacdc8eeca15bb0fb3ae (diff)
Fix dependancy for util target
-Erik
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile16
1 files changed, 8 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index 9b3af64be..e1449d3f6 100644
--- a/Makefile
+++ b/Makefile
@@ -33,7 +33,7 @@ include Rules.mak
DIRS = extra ldso libc libcrypt libresolv libutil libm libpthread
-all: headers uClibc_config subdirs shared util finished
+all: headers uClibc_config subdirs shared finished
Config:
@echo
@@ -58,11 +58,6 @@ else
@echo
endif
-util:
-ifeq ($(strip $(HAVE_SHARED)),true)
- @$(MAKE) -C ldso utils
-endif
-
finished: shared
@echo
@echo Finally finished compiling...
@@ -291,7 +286,12 @@ install_toolchain:
install -d $(PREFIX)$(SYSTEM_DEVEL_PREFIX)/bin
$(MAKE) -C extra/gcc-uClibc install
-install_utils:
+util: install_dev
+ifeq ($(strip $(HAVE_SHARED)),true)
+ @$(MAKE) -C ldso utils
+endif
+
+install_utils: util
ifeq ($(strip $(HAVE_SHARED)),true)
@$(MAKE) -C ldso utils
install -m 755 ldso/util/ldd $(PREFIX)$(DEVEL_PREFIX)/bin
@@ -330,7 +330,7 @@ ifeq ($(strip $(HAVE_SHARED)),true)
fi;
endif
-install_target_utils:
+install_target_utils: util
ifeq ($(strip $(HAVE_SHARED)),true)
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