aboutsummaryrefslogtreecommitdiff
path: root/libgloss/pru
diff options
context:
space:
mode:
authorDimitar Dimitrov <dimitar@dinux.eu>2022-01-27 20:52:43 +0200
committerMike Frysinger <vapier@gentoo.org>2022-01-27 19:40:10 -0500
commitb095628ecff1831b250f34d3b6b5787b3f247d63 (patch)
tree0b8a430416117f13460631bddc262f09bbc3fa1b /libgloss/pru
parentdcbff9eea71d06454e7d55d6b7e72672c0987d6d (diff)
downloadnewlib-b095628ecff1831b250f34d3b6b5787b3f247d63.zip
newlib-b095628ecff1831b250f34d3b6b5787b3f247d63.tar.gz
newlib-b095628ecff1831b250f34d3b6b5787b3f247d63.tar.bz2
libgloss: Fix PRU & Blackfin mkinstalldirs path
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. Fix the Blackfin build in the same way. Signed-off-by: Dimitar Dimitrov <dimitar@dinux.eu>
Diffstat (limited to 'libgloss/pru')
-rw-r--r--libgloss/pru/Makefile.in3
1 files changed, 1 insertions, 2 deletions
diff --git a/libgloss/pru/Makefile.in b/libgloss/pru/Makefile.in
index 3bf9f452..7a2f290 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@