summaryrefslogtreecommitdiff
path: root/ldso/util
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-01-11 20:11:12 +0000
committerEric Andersen <andersen@codepoet.org>2002-01-11 20:11:12 +0000
commitd7147f9226520ad9a688c53802a4c6c2c53592fc (patch)
treee2a923a816960d2812741f9195925290d7531505 /ldso/util
parent4d5785ca2df3eea5ce876ff63ac04b1c376384a1 (diff)
Remove the now obsolete d-link tree. Update things to cope
with the new naming -Erik
Diffstat (limited to 'ldso/util')
-rw-r--r--ldso/util/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/ldso/util/Makefile b/ldso/util/Makefile
index 3814bfd2b..d514f3f9a 100644
--- a/ldso/util/Makefile
+++ b/ldso/util/Makefile
@@ -27,16 +27,16 @@ TARGETS=ldd.uclibc ldd readelf ldconfig
all: $(TARGETS)
readsoname.o: readsoname.c readsoname2.c
- $(TARGET_CC) $(TARGET_CFLAGS) -c $< -o $@
+ $(CC) $(CFLAGS) -c $< -o $@
$(STRIPTOOL) -x -R .note -R .comment $*.o
ldconfig.o: ldconfig.c
- $(TARGET_CC) $(TARGET_CFLAGS) -DUCLIBC_TARGET_PREFIX=\"$(TARGET_PREFIX)\" \
+ $(CC) $(CFLAGS) -DUCLIBC_TARGET_PREFIX=\"$(TARGET_PREFIX)\" \
-c $< -o $@
$(STRIPTOOL) -x -R .note -R .comment $*.o
readelf: readelf.c
- $(TARGET_CC) $(TARGET_CFLAGS) -static readelf.c -o $@
+ $(CC) $(CFLAGS) -static readelf.c -o $@
$(STRIPTOOL) -x -R .note -R .comment $@
ifeq ($(strip $(LIBRARY_CACHE)),)
@@ -44,12 +44,12 @@ ldconfig:
echo "LIBRARY_CACHE disabled -- not building ldconfig"
else
ldconfig: ldconfig.o readsoname.o
- $(TARGET_CC) $(TARGET_CFLAGS) -static $^ -o $@
+ $(CC) $(CFLAGS) -static $^ -o $@
$(STRIPTOOL) -x -R .note -R .comment $@
endif
ldd: ldd.c
- $(TARGET_CC) $(TARGET_CFLAGS) -DUCLIBC_TARGET_PREFIX=\"$(TARGET_PREFIX)\" \
+ $(CC) $(CFLAGS) -DUCLIBC_TARGET_PREFIX=\"$(TARGET_PREFIX)\" \
-DUCLIBC_DEVEL_PREFIX=\"$(DEVEL_PREFIX)\" \
-DUCLIBC_BUILD_DIR=\"$(shell cd $(TOPDIR) && pwd)\" \
-DUCLIBC_LDSO=\"$(UCLIBC_LDSO)\" \