Brad Bishop | bec4ebc | 2022-08-03 09:55:16 -0400 | [diff] [blame^] | 1 | From 58211c7ceb0510b2a11a7f1da3c7fa968c658749 Mon Sep 17 00:00:00 2001 |
| 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] |
| 14 | --- |
| 15 | gcc/Makefile.in | 2 ++ |
| 16 | 1 file changed, 2 insertions(+) |
| 17 | |
| 18 | diff --git a/gcc/Makefile.in b/gcc/Makefile.in |
| 19 | index 9b17d120a..d175ec4e3 100644 |
| 20 | --- a/gcc/Makefile.in |
| 21 | +++ b/gcc/Makefile.in |
| 22 | @@ -3693,6 +3693,8 @@ install-plugin: installdirs lang.install-plugin s-header-vars install-gengtype |
| 23 | "$(srcdir)"/config/* | "$(srcdir)"/common/config/* \ |
| 24 | | "$(srcdir)"/c-family/* | "$(srcdir)"/*.def ) \ |
| 25 | base=`echo "$$path" | sed -e "s|$$srcdirstrip/||"`;; \ |
| 26 | + */linux64.h ) \ |
| 27 | + base=`dirname $$path`;;\ |
| 28 | *) base=`basename $$path` ;; \ |
| 29 | esac; \ |
| 30 | dest=$(plugin_includedir)/$$base; \ |
| 31 | -- |
| 32 | 2.25.1 |
| 33 | |