aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuo Jie <guojie@loongson.cn>2023-08-16 09:48:22 +0800
committerChenghua Xu <paul.hua.gm@gmail.com>2023-08-19 11:46:28 +0800
commit3e3157363863ed599c367645af4f94ae32a5bdc2 (patch)
tree51be23625823a6a8abb5229f26ef2cb1dc15aae4
parent4acbb51d7f2842eb6b8697483bba060129c40fe8 (diff)
downloadgcc-3e3157363863ed599c367645af4f94ae32a5bdc2.zip
gcc-3e3157363863ed599c367645af4f94ae32a5bdc2.tar.gz
gcc-3e3157363863ed599c367645af4f94ae32a5bdc2.tar.bz2
Loongarch: Fix plugin header missing install.
gcc/ChangeLog: * config/loongarch/t-loongarch: Add loongarch-driver.h into TM_H. Add loongarch-def.h and loongarch-tune.h into OPTIONS_H_EXTRA. Co-authored-by: Lulu Cheng <chenglulu@loongson.cn>
-rw-r--r--gcc/config/loongarch/t-loongarch4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/config/loongarch/t-loongarch b/gcc/config/loongarch/t-loongarch
index 4ca0803..43088a0 100644
--- a/gcc/config/loongarch/t-loongarch
+++ b/gcc/config/loongarch/t-loongarch
@@ -16,6 +16,10 @@
# along with GCC; see the file COPYING3. If not see
# <http://www.gnu.org/licenses/>.
+TM_H += $(srcdir)/config/loongarch/loongarch-driver.h
+OPTIONS_H_EXTRA += $(srcdir)/config/loongarch/loongarch-def.h \
+ $(srcdir)/config/loongarch/loongarch-tune.h
+
# Canonical target triplet from config.gcc
LA_MULTIARCH_TRIPLET = $(patsubst LA_MULTIARCH_TRIPLET=%,%,$\
$(filter LA_MULTIARCH_TRIPLET=%,$(tm_defines)))