summaryrefslogtreecommitdiff
path: root/utils/Makefile
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2005-01-12 01:22:59 +0000
committerEric Andersen <andersen@codepoet.org>2005-01-12 01:22:59 +0000
commit8f6b29e669ac593f07c7b8f4eb1507aa12c14983 (patch)
treecc814a8ac48da641a9c6296c24c23751ac4746c2 /utils/Makefile
parent7faa798bed2130a7cebc49f4c055b9873e19a768 (diff)
cleanup, and prevent failures due to including architecture specific
header files into ldconfig when building for the host.
Diffstat (limited to 'utils/Makefile')
-rw-r--r--utils/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/Makefile b/utils/Makefile
index 86640055d..6b89974c5 100644
--- a/utils/Makefile
+++ b/utils/Makefile
@@ -44,7 +44,7 @@ readelf: readelf.c
$(CC) $(CFLAGS) -Wl,-s $^ -o $@
$(STRIPTOOL) -x -R .note -R .comment $@
-ldconfig: ldconfig.c readsoname.c
+ldconfig: ldconfig.c
$(CC) $(CFLAGS) -Wl,-s -static \
-DUCLIBC_RUNTIME_PREFIX=\"$(RUNTIME_PREFIX)\" \
-DUCLIBC_LDSO=$(UCLIBC_LDSO) -I. -I../ldso/include \
@@ -76,7 +76,7 @@ ldd.host: ldd.c
-DUCLIBC_LDSO=$(UCLIBC_LDSO) -I. -I../ldso/include \
$^ -o $@
-ldconfig.host: ldconfig.c readsoname.c
+ldconfig.host: ldconfig.c
$(HOSTCC) $(HOSTCFLAGS) -Wl,-s \
-DUCLIBC_RUNTIME_PREFIX=\"$(RUNTIME_PREFIX)\" \
-DUCLIBC_LDSO=$(UCLIBC_LDSO) -I. -I../ldso/include \
@@ -89,7 +89,7 @@ clean:
$(RM) $(TARGETS) *.o *~ core *.target elf.h iconv *.host
-readelf.c readsoname.c ldconfig.c ldd.c: headers
+readelf.c ldconfig.c ldd.c: headers
install: all
ifeq ($(strip $(HAVE_SHARED)),y)