public inbox for newlib-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] libgloss: Fix PRU & Blackfin mkinstalldirs path
@ 2022-01-28 0:40 Michael Frysinger
0 siblings, 0 replies; only message in thread
From: Michael Frysinger @ 2022-01-28 0:40 UTC (permalink / raw)
To: newlib-cvs
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=b095628ecff1831b250f34d3b6b5787b3f247d63
commit b095628ecff1831b250f34d3b6b5787b3f247d63
Author: Dimitar Dimitrov <dimitar@dinux.eu>
Date: Thu Jan 27 20:52:43 2022 +0200
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>
Diff:
---
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@
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-01-28 0:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-28 0:40 [newlib-cygwin] libgloss: Fix PRU & Blackfin mkinstalldirs path Michael Frysinger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).