diff mbox

[nvptx-tools,committed] Also install [...]/nvptx-none/bin/ar and [...]/nvptx-none/bin/ranlib.

Message ID 1419360623-1622-1-git-send-email-thomas@codesourcery.com
State New
Headers show

Commit Message

Thomas Schwinge Dec. 23, 2014, 6:50 p.m. UTC
GCC needs this, if nvptx-none-ar and nvptx-none-ranlib aren't found in $PATH.
---
 tools/Makefile.in | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

Comments

Bernd Schmidt Jan. 9, 2015, 3:38 p.m. UTC | #1
On 12/23/2014 07:50 PM, Thomas Schwinge wrote:
> GCC needs this, if nvptx-none-ar and nvptx-none-ranlib aren't found in $PATH.

I've pushed the three patches you sent to my github repository.


Bernd
Thomas Schwinge Feb. 2, 2015, 4:18 p.m. UTC | #2
Hi Bernd!

On Fri, 9 Jan 2015 16:38:51 +0100, Bernd Schmidt <bernds@codesourcery.com> wrote:
> On 12/23/2014 07:50 PM, Thomas Schwinge wrote:
> > [nvptx-tools patches]
> 
> I've pushed the three patches you sent to my github repository.

It probably makes sense for you to switch over to the MentorEmbedded
repositories,
<http://news.gmane.org/find-root.php?message_id=%3C87vbl2w69s.fsf%40kepler.schwinge.homeip.net%3E>
(where I already had pushed these patches).


Should we be posting nvptx-tools patches on this list (gcc-patches),
somewhere else, or not at all?  I thought, on gcc-patches, as nvptx-tools
are only to be used with GCC?  (But Joseph and I have not posted the
patches we pushed recently.)


Grüße,
 Thomas
diff mbox

Patch

diff --git tools/Makefile.in tools/Makefile.in
index 6829e29..8dcedbc 100644
--- tools/Makefile.in
+++ tools/Makefile.in
@@ -45,11 +45,15 @@  install: all
 	for x in $(PROGRAMS); do \
 		$(INSTALL_PROGRAM) -m 755 $$x $(DESTDIR)$(bindir)/$$x; \
 	done
-	rm -f $(DESTDIR)$(prefix)/nvptx-none/bin/as
-	rm -f $(DESTDIR)$(prefix)/nvptx-none/bin/ld
 	rm -f $(DESTDIR)$(bindir)/nvptx-none-ar
 	rm -f $(DESTDIR)$(bindir)/nvptx-none-ranlib
-	$(LN_S) $(DESTDIR)$(bindir)/nvptx-none-as  $(DESTDIR)$(prefix)/nvptx-none/bin/as
-	$(LN_S) $(DESTDIR)$(bindir)/nvptx-none-ld  $(DESTDIR)$(prefix)/nvptx-none/bin/ld
 	$(LN_S) $(AR) $(DESTDIR)$(bindir)/nvptx-none-ar
 	$(LN_S) $(RANLIB) $(DESTDIR)$(bindir)/nvptx-none-ranlib
+	rm -f $(DESTDIR)$(prefix)/nvptx-none/bin/ar
+	rm -f $(DESTDIR)$(prefix)/nvptx-none/bin/as
+	rm -f $(DESTDIR)$(prefix)/nvptx-none/bin/ld
+	rm -f $(DESTDIR)$(prefix)/nvptx-none/bin/ranlib
+	$(LN_S) $(DESTDIR)$(bindir)/nvptx-none-ar  $(DESTDIR)$(prefix)/nvptx-none/bin/ar
+	$(LN_S) $(DESTDIR)$(bindir)/nvptx-none-as  $(DESTDIR)$(prefix)/nvptx-none/bin/as
+	$(LN_S) $(DESTDIR)$(bindir)/nvptx-none-ld  $(DESTDIR)$(prefix)/nvptx-none/bin/ld
+	$(LN_S) $(DESTDIR)$(bindir)/nvptx-none-ranlib  $(DESTDIR)$(prefix)/nvptx-none/bin/ranlib