summaryrefslogtreecommitdiff
path: root/utils/Makefile
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-11-07 06:22:12 +0000
committerEric Andersen <andersen@codepoet.org>2003-11-07 06:22:12 +0000
commitde6fee730d8b245d08ceb07476f54a612bffa4d3 (patch)
tree369790105dfabd612107b1c1196a15dbce8b4948 /utils/Makefile
parent44cb355a26382c2361415bae11148f7fe1a4a526 (diff)
Sigh. I forgot to define INSTALL which, understandable,
broke the install target
Diffstat (limited to 'utils/Makefile')
-rw-r--r--utils/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/utils/Makefile b/utils/Makefile
index f8e3bcc37..008a33f36 100644
--- a/utils/Makefile
+++ b/utils/Makefile
@@ -40,9 +40,11 @@ CC= $(CROSS)gcc
AR= $(CROSS)ar
LD= $(CROSS)ld
NM= $(CROSS)nm
-STRIP= $(CROSS)strip
-LN=ln
+STRIPTOOL= $(CROSS)strip
+INSTALL= install
+LN= ln
+RM= rm -f
override CFLAGS=$(UWARNINGS) $(OPTIMIZATION) #$(XARCH_CFLAGS)
override LDFLAGS=-s
ifeq ($(DODEBUG),y)
@@ -96,21 +98,21 @@ headers:
readelf: readelf.c
$(CC) $(CFLAGS) -Wl,-s $^ -o $@ $(LDADD_LIBFLOAT)
- $(STRIP) -x -R .note -R .comment $@
+ $(STRIPTOOL) -x -R .note -R .comment $@
ldconfig: ldconfig.c readsoname.c
$(CC) $(CFLAGS) $(XXFLAGS) -Wl,-s \
-DUCLIBC_RUNTIME_PREFIX=$(R_PREFIX) \
-DUCLIBC_LDSO=$(UCLIBC_LDSO) -I. -I../ldso/include \
$^ -o $@ $(LDADD_LIBFLOAT)
- $(STRIP) -x -R .note -R .comment $@
+ $(STRIPTOOL) -x -R .note -R .comment $@
ldd: ldd.c
$(CC) $(CFLAGS) $(XXFLAGS) -Wl,-s \
-DUCLIBC_RUNTIME_PREFIX=$(R_PREFIX) \
-DUCLIBC_LDSO=$(UCLIBC_LDSO) \
$^ -o $@ $(LDADD_LIBFLOAT)
- $(STRIP) -x -R .note -R .comment $@
+ $(STRIPTOOL) -x -R .note -R .comment $@
clean:
$(RM) $(TARGETS) *.o *~ core *.target elf.h