summaryrefslogtreecommitdiff
path: root/ldso/Makefile
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-01-24 23:20:56 +0000
committerMike Frysinger <vapier@gentoo.org>2005-01-24 23:20:56 +0000
commitdd8d43ce314931a24533715977385d68d1827b4d (patch)
tree2b8f7da031cd7ac77460e4a165d00f546fe12a6b /ldso/Makefile
parent6716bc702e19a4222ea6edad5ae9af33d8d4c01b (diff)
make sure libdl static and shared targets are built properly
Diffstat (limited to 'ldso/Makefile')
-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)