summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2001-06-02 02:00:23 +0000
committerManuel Novoa III <mjn3@codepoet.org>2001-06-02 02:00:23 +0000
commiteb8bb5738da2748fcfcd9d32b04d9d08845213fb (patch)
tree8feb75a1e4e9d5e09577659ca4ea9140d918c98a /Makefile
parent47c1983b76408513ce082457fdccfb107ad93901 (diff)
Only build ldso if building shared. Also, if building ldso, build all subdirs.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index d45ba108a..c48a46181 100644
--- a/Makefile
+++ b/Makefile
@@ -30,10 +30,7 @@
TOPDIR=./
include Rules.mak
-ifeq ($(LDSO_PRESENT), $(TARGET_ARCH))
- LDSO_DIR = ldso
-endif
-DIRS = extra $(LDSO_DIR) libc libcrypt libresolv libutil libm
+DIRS = extra libc libcrypt libresolv libutil libm
ifndef $(TARGET_PREFIX)
TARGET_PREFIX = `pwd`/_install
@@ -43,7 +40,9 @@ all: headers uClibc_config.h subdirs $(DO_SHARED) done
shared:
@$(MAKE) -C libc shared
+ifeq ($(LDSO_PRESENT), $(TARGET_ARCH))
@$(MAKE) -C ldso shared
+endif
@$(MAKE) -C libcrypt shared
@$(MAKE) -C libutil shared
@$(MAKE) -C libm shared