|
@@ -27,16 +27,16 @@ TARGETS=ldd.uclibc ldd readelf ldconfig
|
|
all: $(TARGETS)
|
|
all: $(TARGETS)
|
|
|
|
|
|
readsoname.o: readsoname.c readsoname2.c
|
|
readsoname.o: readsoname.c readsoname2.c
|
|
- $(TARGET_CC) $(TARGET_CFLAGS) -c $< -o $@
|
|
+ $(CC) $(CFLAGS) -c $< -o $@
|
|
$(STRIPTOOL) -x -R .note -R .comment $*.o
|
|
$(STRIPTOOL) -x -R .note -R .comment $*.o
|
|
|
|
|
|
ldconfig.o: ldconfig.c
|
|
ldconfig.o: ldconfig.c
|
|
- $(TARGET_CC) $(TARGET_CFLAGS) -DUCLIBC_TARGET_PREFIX=\"$(TARGET_PREFIX)\" \
|
|
+ $(CC) $(CFLAGS) -DUCLIBC_TARGET_PREFIX=\"$(TARGET_PREFIX)\" \
|
|
-c $< -o $@
|
|
-c $< -o $@
|
|
$(STRIPTOOL) -x -R .note -R .comment $*.o
|
|
$(STRIPTOOL) -x -R .note -R .comment $*.o
|
|
|
|
|
|
readelf: readelf.c
|
|
readelf: readelf.c
|
|
- $(TARGET_CC) $(TARGET_CFLAGS) -static readelf.c -o $@
|
|
+ $(CC) $(CFLAGS) -static readelf.c -o $@
|
|
$(STRIPTOOL) -x -R .note -R .comment $@
|
|
$(STRIPTOOL) -x -R .note -R .comment $@
|
|
|
|
|
|
ifeq ($(strip $(LIBRARY_CACHE)),)
|
|
ifeq ($(strip $(LIBRARY_CACHE)),)
|
|
@@ -44,12 +44,12 @@ ldconfig:
|
|
echo "LIBRARY_CACHE disabled -- not building ldconfig"
|
|
echo "LIBRARY_CACHE disabled -- not building ldconfig"
|
|
else
|
|
else
|
|
ldconfig: ldconfig.o readsoname.o
|
|
ldconfig: ldconfig.o readsoname.o
|
|
- $(TARGET_CC) $(TARGET_CFLAGS) -static $^ -o $@
|
|
+ $(CC) $(CFLAGS) -static $^ -o $@
|
|
$(STRIPTOOL) -x -R .note -R .comment $@
|
|
$(STRIPTOOL) -x -R .note -R .comment $@
|
|
endif
|
|
endif
|
|
|
|
|
|
ldd: ldd.c
|
|
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_DEVEL_PREFIX=\"$(DEVEL_PREFIX)\" \
|
|
-DUCLIBC_BUILD_DIR=\"$(shell cd $(TOPDIR) && pwd)\" \
|
|
-DUCLIBC_BUILD_DIR=\"$(shell cd $(TOPDIR) && pwd)\" \
|
|
-DUCLIBC_LDSO=\"$(UCLIBC_LDSO)\" \
|
|
-DUCLIBC_LDSO=\"$(UCLIBC_LDSO)\" \
|