Andrew Geissler | ea144b0 | 2023-01-27 16:03:57 -0600 | [diff] [blame^] | 1 | From 3e67c9c77e46132c252911bf1e5e4222dfd3aa34 Mon Sep 17 00:00:00 2001 |
Brad Bishop | bec4ebc | 2022-08-03 09:55:16 -0400 | [diff] [blame] | 2 | From: Andrei Gherzan <andrei.gherzan@huawei.com> |
| 3 | Date: Wed, 22 Dec 2021 12:49:25 +0100 |
| 4 | Subject: [PATCH] Fix install path of linux64.h |
| 5 | |
| 6 | We add linux64.h to tm includes[1] as a relative path to B. This patch |
| 7 | adapts the install path of linux64.h to match the include in tm.h. |
| 8 | |
| 9 | [1] 0016-Use-the-multilib-config-files-from-B-instead-of-usin.patch |
| 10 | |
| 11 | Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com> |
| 12 | |
| 13 | Upstream-Status: Inappropriate [configuration] |
Patrick Williams | 2194f50 | 2022-10-16 14:26:09 -0500 | [diff] [blame] | 14 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
Brad Bishop | bec4ebc | 2022-08-03 09:55:16 -0400 | [diff] [blame] | 15 | --- |
| 16 | gcc/Makefile.in | 2 ++ |
| 17 | 1 file changed, 2 insertions(+) |
| 18 | |
| 19 | diff --git a/gcc/Makefile.in b/gcc/Makefile.in |
Andrew Geissler | ea144b0 | 2023-01-27 16:03:57 -0600 | [diff] [blame^] | 20 | index 07fa63b6640..0def7394454 100644 |
Brad Bishop | bec4ebc | 2022-08-03 09:55:16 -0400 | [diff] [blame] | 21 | --- a/gcc/Makefile.in |
| 22 | +++ b/gcc/Makefile.in |
Andrew Geissler | ea144b0 | 2023-01-27 16:03:57 -0600 | [diff] [blame^] | 23 | @@ -3706,6 +3706,8 @@ install-plugin: installdirs lang.install-plugin s-header-vars install-gengtype |
Brad Bishop | bec4ebc | 2022-08-03 09:55:16 -0400 | [diff] [blame] | 24 | "$(srcdir)"/config/* | "$(srcdir)"/common/config/* \ |
| 25 | | "$(srcdir)"/c-family/* | "$(srcdir)"/*.def ) \ |
| 26 | base=`echo "$$path" | sed -e "s|$$srcdirstrip/||"`;; \ |
| 27 | + */linux64.h ) \ |
| 28 | + base=`dirname $$path`;;\ |
| 29 | *) base=`basename $$path` ;; \ |
| 30 | esac; \ |
| 31 | dest=$(plugin_includedir)/$$base; \ |