From dd8d43ce314931a24533715977385d68d1827b4d Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 24 Jan 2005 23:20:56 +0000 Subject: make sure libdl static and shared targets are built properly --- ldso/Makefile | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) (limited to 'ldso/Makefile') 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) -- cgit v1.2.3