summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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