diff options
Diffstat (limited to 'ldso')
-rw-r--r-- | ldso/ldso/Makefile | 4 | ||||
-rw-r--r-- | ldso/libdl/Makefile | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/ldso/ldso/Makefile b/ldso/ldso/Makefile index b8f0e030e..e026fca85 100644 --- a/ldso/ldso/Makefile +++ b/ldso/ldso/Makefile @@ -71,8 +71,8 @@ all: lib lib:: _dl_progname.h $(OBJS) $(DLINK_OBJS) $(LD) $(LDFLAGS) -e _dl_boot -soname=$(UCLIBC_LDSO) \ -o $(LDSO_FULLNAME) $(OBJS) $(LIBGCC); - install -d $(TOPDIR)lib - install -m 755 $(LDSO_FULLNAME) $(TOPDIR)lib + $(INSTALL) -d $(TOPDIR)lib + $(INSTALL) -m 755 $(LDSO_FULLNAME) $(TOPDIR)lib (cd $(TOPDIR)lib && ln -sf $(LDSO_FULLNAME) $(UCLIBC_LDSO)) _dl_progname.h: Makefile diff --git a/ldso/libdl/Makefile b/ldso/libdl/Makefile index 00142a8f2..a0358feea 100644 --- a/ldso/libdl/Makefile +++ b/ldso/libdl/Makefile @@ -60,9 +60,9 @@ $(LIBDL): ar-target ar-target: $(OBJS) $(PIC_OBJS) $(AR) $(ARFLAGS) $(LIBDL) ../ldso/$(TARGET_ARCH)/resolve.o $(OBJS) $(AR) $(ARFLAGS) $(LIBDL_PIC) $(PIC_OBJS) - install -d $(TOPDIR)lib + $(INSTALL) -d $(TOPDIR)lib rm -f $(TOPDIR)lib/$(LIBDL) - install -m 644 $(LIBDL) $(TOPDIR)lib + $(INSTALL) -m 644 $(LIBDL) $(TOPDIR)lib dlib.o: dlib.c @@ -80,9 +80,9 @@ shared: -o $(LIBDL_SHARED_FULLNAME) --whole-archive $(LIBDL_PIC) \ --no-whole-archive $(TOPDIR)/libc/misc/internals/interp.o \ -L$(TOPDIR)/lib -lc; - install -d $(TOPDIR)lib + $(INSTALL) -d $(TOPDIR)lib rm -f $(TOPDIR)lib/$(LIBDL_SHARED_FULLNAME) $(TOPDIR)lib/$(LIBDL_SHARED).$(MAJOR_VERSION) - install -m 644 $(LIBDL_SHARED_FULLNAME) $(TOPDIR)lib; + $(INSTALL) -m 644 $(LIBDL_SHARED_FULLNAME) $(TOPDIR)lib (cd $(TOPDIR)lib && ln -sf $(LIBDL_SHARED_FULLNAME) $(LIBDL_SHARED)); (cd $(TOPDIR)lib && ln -sf $(LIBDL_SHARED_FULLNAME) $(LIBDL_SHARED).$(MAJOR_VERSION)); |