crosstool-ng/packages/gnuprumcu/0.5.0/0001-HACK-Fix-paths-for-crosstool-ng.patch
Dimitar Dimitrov e7d0485ca2 Add package with PRU linker scripts and headers
Include the gnuprumcu package in PRU cross toolchain.
Toolchain is somewhat useless without device specs and
linker scripts for the various SoCs.

Signed-off-by: Dimitar Dimitrov <dimitar@dinux.eu>
2021-01-19 21:18:55 +02:00

42 lines
1.1 KiB
Diff

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