diff --git a/Makefile.in b/Makefile.in index a6a88137e0c..43e6657a761 100644 --- a/Makefile.in +++ b/Makefile.in @@ -991,7 +991,7 @@ stamps/build-uclibc-linux: $(UCLIBC_SRCDIR) $(UCLIBC_SRC_GIT) stamps/build-gcc-u O="$$(realpath $(notdir $@))" \ ARCH=riscv$(XLEN) \ CROSS_COMPILE=$(UCLIBC_TUPLE)- \ - $(MAKE) -C $(notdir $<) olddefconfig + $(MAKE) -C $< olddefconfig O="$$(realpath $(notdir $@))" \ ARCH=riscv$(XLEN) \ @@ -999,7 +999,7 @@ stamps/build-uclibc-linux: $(UCLIBC_SRCDIR) $(UCLIBC_SRC_GIT) stamps/build-gcc-u CROSS_COMPILE=$(UCLIBC_TUPLE)- \ UCLIBC_EXTRA_CFLAGS="$(CFLAGS_FOR_TARGET)" \ UCLIBC_EXTRA_CPPFLAGS="$(CXXFLAGS_FOR_TARGET)" \ - $(MAKE) -C $(notdir $<) install + $(MAKE) -C $< install cp -a $(notdir $@)/lib/*\.so $(SYSROOT)/usr/lib/ cp -a $(notdir $@)/lib/*\.so.* $(SYSROOT)/usr/lib/ ln -f $(SYSROOT)/usr/lib/crt1.o $(SYSROOT)/usr/lib/Scrt1.o