From f340581fb845e9d8fe31a4d46733fe86e33944a3 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Thu, 30 May 2002 12:17:51 +0000 Subject: Fix dependancy for util target -Erik --- Makefile | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3