summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ldso/Makefile15
1 files changed, 6 insertions, 9 deletions
diff --git a/ldso/Makefile b/ldso/Makefile
index b72f81792..afbe5d08a 100644
--- a/ldso/Makefile
+++ b/ldso/Makefile
@@ -21,21 +21,18 @@ include $(TOPDIR)Rules.mak
DIRS = ldso libdl
-all: ldso
+all: ldso libdl
-ldso: headers
ifeq ($(strip $(BUILD_UCLIBC_LDSO)),y)
+ldso: headers
$(MAKE) -C ldso
-else
- echo "Not building ld-uClibc"
-endif
-
-shared: libdl
libdl: ldso headers
-ifeq ($(strip $(BUILD_UCLIBC_LDSO)),y)
$(MAKE) -C libdl
+shared: libdl
+ $(MAKE) -C libdl shared
else
- echo "Not building libdl"
+ldso libdl shared:
+ echo "Skipping $@ target"
endif
HEADERS = $(patsubst %, include/%, elf.h dl-startup.h dl-syscalls.h dl-sysdep.h)