summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-05-30 14:11:48 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-05-30 14:11:48 +0000
commita16b7b1146702eccb1f7cf584934cf9f249abc57 (patch)
tree2fc06512858628bd4a21558e99e4f9811faa555a
parentdf2e0d115455c2aeb55d4ee693b6c2b6cf82f213 (diff)
downloaduClibc-alpine-a16b7b1146702eccb1f7cf584934cf9f249abc57.tar.bz2
uClibc-alpine-a16b7b1146702eccb1f7cf584934cf9f249abc57.tar.xz
- fix dependencies of ldso.c
Previously a touch ldso/ldso/dl-debug.c && make ldso/ldso/ldso.oS did nothing
-rw-r--r--ldso/ldso/Makefile.in9
1 files changed, 8 insertions, 1 deletions
diff --git a/ldso/ldso/Makefile.in b/ldso/ldso/Makefile.in
index 8ae7a1743..5ae985a61 100644
--- a/ldso/ldso/Makefile.in
+++ b/ldso/ldso/Makefile.in
@@ -15,7 +15,7 @@ CFLAGS-ldso += -DUCLIBC_RUNTIME_PREFIX=\"$(RUNTIME_PREFIX)\" -DUCLIBC_LDSO=\"$(U
CFLAGS-ldso/ldso/$(TARGET_ARCH)/ := $(CFLAGS-ldso)
-CFLAGS-ldso.c := -DLDSO_ELFINTERP=\"$(TARGET_ARCH)/elfinterp.c\"
+CFLAGS-ldso.c := -DLDSO_ELFINTERP=\"$(TARGET_ARCH)/elfinterp.c\" $(CFLAGS-ldso)
ifneq ($(SUPPORT_LD_DEBUG),y)
LDFLAGS-$(UCLIBC_LDSO_NAME).so := $(LDFLAGS)
@@ -30,6 +30,13 @@ $(UCLIBC_LDSO_NAME)_DIR := $(top_srcdir)ldso/ldso
$(UCLIBC_LDSO_NAME)_OUT := $(top_builddir)ldso/ldso
$(UCLIBC_LDSO_NAME)_CSRC := $($(UCLIBC_LDSO_NAME)_DIR)/ldso.c
+# prerequesites
+$($(UCLIBC_LDSO_NAME)_OUT)/ldso.o $($(UCLIBC_LDSO_NAME)_OUT)/ldso.oS: \
+ $($(UCLIBC_LDSO_NAME)_DIR)/dl-debug.c \
+ $($(UCLIBC_LDSO_NAME)_DIR)/dl-startup.c \
+ $($(UCLIBC_LDSO_NAME)_DIR)/dl-array.c \
+ $($(UCLIBC_LDSO_NAME)_DIR)/dl-hash.c \
+ $($(UCLIBC_LDSO_NAME)_DIR)/dl-elf.c
$(UCLIBC_LDSO_NAME)_COBJ := $(patsubst $($(UCLIBC_LDSO_NAME)_DIR)/%.c,$($(UCLIBC_LDSO_NAME)_OUT)/%.o,$($(UCLIBC_LDSO_NAME)_CSRC))
$(UCLIBC_LDSO_NAME)_SSRC := $(wildcard $($(UCLIBC_LDSO_NAME)_DIR)/$(TARGET_ARCH)/*.S)