[PATCH] libgloss: Fix mkinstalldirs path
Dimitar Dimitrov <[email protected]>
| Newsgroups | gmane.comp.lib.newlib |
|---|---|
| Message-ID | <[email protected]> |
With the move of configure scripts out of target directories, relative paths to top_srcdir got broken: /bin/sh: .../newlib/libgloss/../../mkinstalldirs: No such file or directory Fix the PRU build by switching to srcroot relative path, as rest of targets do. I cannot test bfin, but it appears to have the same issue. Signed-off-by: Dimitar Dimitrov <[email protected]> --- libgloss/bfin/Makefile.in | 3 +-- libgloss/pru/Makefile.in | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/libgloss/bfin/Makefile.in b/libgloss/bfin/Makefile.in index a8ecfaf14..305ce310d 100644 --- a/libgloss/bfin/Makefile.in +++ b/libgloss/bfin/Makefile.in @@ -7,7 +7,6 @@ srcdir = @srcdir@ objdir = . srcroot = $(srcdir)/../.. objroot = $(objdir)/../.. -top_srcdir = @top_srcdir@ prefix = @prefix@ exec_prefix = @exec_prefix@ @@ -30,7 +29,7 @@ MULTISUBDIR = SHELL = /bin/sh -mkinstalldirs = $(SHELL) $(top_srcdir)/../../mkinstalldirs +mkinstalldirs = $(SHELL) $(srcroot)/mkinstalldirs CC = @CC@ diff --git a/libgloss/pru/Makefile.in b/libgloss/pru/Makefile.in index 3bf9f4529..7a2f290a8 100644 --- a/libgloss/pru/Makefile.in +++ b/libgloss/pru/Makefile.in @@ -29,7 +29,6 @@ srcdir = @srcdir@ objdir = . srcroot = $(srcdir)/../.. objroot = $(objdir)/../.. -top_srcdir = @top_srcdir@ prefix = @prefix@ exec_prefix = @exec_prefix@ @@ -49,7 +48,7 @@ MULTISUBDIR = SHELL = /bin/sh -mkinstalldirs = $(SHELL) $(top_srcdir)/../../mkinstalldirs +mkinstalldirs = $(SHELL) $(srcroot)/mkinstalldirs CC = @CC@ -- 2.34.1