crosstool-ng/packages/gnuprumcu/0.5.0/0001-HACK-Fix-paths-for-crosstool-ng.patch

42 lines
1.1 KiB
Diff
Raw Normal View History

From b045b2c65e26153813abadc2d065afdd52612fb0 Mon Sep 17 00:00:00 2001
From: Dimitar Dimitrov <dimitar@dinux.eu>
Date: Fri, 15 Jan 2021 18:52:09 +0200
Subject: [PATCH] HACK: Fix paths for crosstool-ng
For some reason crosstool-ng modifies the default
binutils/ld path for ldscripts. Align our respective
path.
Signed-off-by: Dimitar Dimitrov <dimitar@dinux.eu>
---
ldscripts/Makefile.am | 2 +-
ldscripts/Makefile.in | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/ldscripts/Makefile.am b/ldscripts/Makefile.am
index 23c5903..b6984d5 100644
--- a/ldscripts/Makefile.am
+++ b/ldscripts/Makefile.am
@@ -47,4 +47,4 @@ dist_pru_DATA = \
pruelf-tda4vm.icssg1.tx_pru1.x
-prudir = $(exec_prefix)/$(target_alias)/lib
+prudir = $(libdir)
diff --git a/ldscripts/Makefile.in b/ldscripts/Makefile.in
index b58975f..b7aecd2 100644
--- a/ldscripts/Makefile.in
+++ b/ldscripts/Makefile.in
@@ -300,7 +300,7 @@ dist_pru_DATA = \
pruelf-tda4vm.icssg1.tx_pru0.x \
pruelf-tda4vm.icssg1.tx_pru1.x
-prudir = $(exec_prefix)/$(target_alias)/lib
+prudir = $(libdir)
all: all-am
.SUFFIXES:
--
2.20.1