]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
LoongArch: Fix plugin header missing install.
authorGuo Jie <guojie@loongson.cn>
Wed, 16 Aug 2023 01:48:22 +0000 (09:48 +0800)
committerChenghua Xu <paul.hua.gm@gmail.com>
Sat, 19 Aug 2023 07:07:35 +0000 (15:07 +0800)
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>
(cherry picked from commit 3e3157363863ed599c367645af4f94ae32a5bdc2)

gcc/config/loongarch/t-loongarch

index 6d6e3435d5959b605d1750311106b1c9a30d8a48..e73f4f437ef73eb4b2d366ef798768a324258c6a 100644 (file)
 # 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)))