From: Guo Jie Date: Wed, 16 Aug 2023 01:48:22 +0000 (+0800) Subject: LoongArch: Fix plugin header missing install. X-Git-Tag: releases/gcc-12.4.0~742 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6328779e0acae28d547e87ee5a5046e2e500cc20;p=thirdparty%2Fgcc.git 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 (cherry picked from commit 3e3157363863ed599c367645af4f94ae32a5bdc2) --- diff --git a/gcc/config/loongarch/t-loongarch b/gcc/config/loongarch/t-loongarch index 6d6e3435d595..e73f4f437ef7 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 # . +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)))