summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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