summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile7
-rw-r--r--ldso/Makefile5
2 files changed, 4 insertions, 8 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
diff --git a/ldso/Makefile b/ldso/Makefile
index dab0025f4..8608bfd0c 100644
--- a/ldso/Makefile
+++ b/ldso/Makefile
@@ -3,10 +3,7 @@ include Rules.mak
SUBDIRS = util d-link libdl # man
-all:
- @if [ -d $(TOPDIR)ldso/d-link/$(TARGET_ARCH) ] ; then \
- $(MAKE) -C d-link; \
- fi;
+all: shared
shared:
@if [ -d $(TOPDIR)ldso/d-link/$(TARGET_ARCH) ] ; then \