From patchwork Wed Aug 16 01:48:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guo Jie X-Patchwork-Id: 135709 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a888:0:b0:3f2:4152:657d with SMTP id x8csp810701vqo; Tue, 15 Aug 2023 18:49:09 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHGsOV3FyTLox/MGgN2aW9D9s5sFRtzXBildszViB+Ig+HPrqLCx7veoHbod/vzxhdkffKi X-Received: by 2002:a05:6512:1590:b0:4fd:d7ac:2654 with SMTP id bp16-20020a056512159000b004fdd7ac2654mr503509lfb.13.1692150548885; Tue, 15 Aug 2023 18:49:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692150548; cv=none; d=google.com; s=arc-20160816; b=Kl0dkmTrgAW/WFEaqL5bpNSe4uxwOJU62pzLy0JvaLBn5+/CaxAjePNkSKInPobDky /+aE5eYmXp80+LJKVgEIdXE6+F2hrh6pI/fhYTqeBjlPeiRLvC5rg/bVgV8Kt99re92g MiQINXq5blxbfnz+JD/wqShd9jp+p4+Ghww4lyhIrKBqX0lqUhonGLIevbUz6XGQterh E3gerO7Rg76BIabPBNLYvGIBTVVcXFh5QRYOEKbbq0usRBxMhiNpaOosaBrG6WIor3W8 nw6Zqt8EDCpm8AIq8fyT9nFNpUhIhldWim/WqPR4VikwUgRIA6kp70lyzCv3ByiOYaRo WSkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dmarc-filter :delivered-to; bh=Az77vvv6Sfh28zAmHt8v7lXe1w37rWUcgc5oU74w4WA=; fh=y1A4gq3MOStmvhPFWvqBOhhX5olWqPG8O+nk6E3Po2A=; b=COh61LQD8SpdJ/L8tOab8InNq5bLAQnUUbSQ/BP4IwH2E0THoeBF4V6Xvtm2RRCzi8 qCPq2KSIEajywT2Zd++US5oa4jQF3zLqGgjXPWM2gqdqQBDR5EEFy33c092egCpkP7xb sGK/SXGB8wmf3xLuZRVu7hLKhX8UbvZel9AHxAlSXxcFgJYOoTyf3+u3wGpVytiFIsJg pxh0OBSMNd4RU8Z3X51oc3qiCxKR72MO53LBU+Rq6Le++3xBvtmx44GTVEhARvwQNuJY 5WqkwaC0tGBOVej+fMFEh9FAvqN4+GD7IYJ/JtivCovk29D5bnrArGONEE+TVhWbz4c+ zR/g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id j5-20020aa7c0c5000000b005232be9ef20si9970149edp.186.2023.08.15.18.49.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Aug 2023 18:49:08 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id D10B1385624F for ; Wed, 16 Aug 2023 01:49:06 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail.loongson.cn (mail.loongson.cn [114.242.206.163]) by sourceware.org (Postfix) with ESMTP id 5F53D3858288 for ; Wed, 16 Aug 2023 01:48:33 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 5F53D3858288 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=loongson.cn Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=loongson.cn Received: from loongson.cn (unknown [10.20.4.97]) by gateway (Coremail) with SMTP id _____8Dxg_DuKtxkxfcYAA--.51736S3; Wed, 16 Aug 2023 09:48:31 +0800 (CST) Received: from loongson-pc.loongson.cn (unknown [10.20.4.97]) by localhost.localdomain (Coremail) with SMTP id AQAAf8AxjiPoKtxkm5lbAA--.53687S4; Wed, 16 Aug 2023 09:48:29 +0800 (CST) From: Guo Jie To: gcc-patches@gcc.gnu.org Cc: xuchenghua@loongson.cn, Guo Jie , Lulu Cheng Subject: [PATCH] Loongarch: Fix plugin header missing install. Date: Wed, 16 Aug 2023 09:48:22 +0800 Message-Id: <20230816014822.20018-1-guojie@loongson.cn> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-CM-TRANSID: AQAAf8AxjiPoKtxkm5lbAA--.53687S4 X-CM-SenderInfo: xjxryx3h6o00pqjv00gofq/ X-Coremail-Antispam: 1Uk129KBj9xXoWrZw4DGFWDGr48GF1xGr45Jwc_yoWDWFg_X3 WavF9rGr48Ca4kGw1jq345tw17Xa1rXFn5AFyDAr4fGr1fXr1Sy3yjgw15Ar13Kr13XFn8 ArWvkrnxAr1UtosvyTuYvTs0mTUanT9S1TB71UUUUUUqnTZGkaVYY2UrUUUUj1kv1TuYvT s0mT0YCTnIWjqI5I8CrVACY4xI64kE6c02F40Ex7xfYxn0WfASr-VFAUDa7-sFnT9fnUUI cSsGvfJTRUUUb78YFVCjjxCrM7AC8VAFwI0_Jr0_Gr1l1xkIjI8I6I8E6xAIw20EY4v20x vaj40_Wr0E3s1l1IIY67AEw4v_Jr0_Jr4l8cAvFVAK0II2c7xJM28CjxkF64kEwVA0rcxS w2x7M28EF7xvwVC0I7IYx2IY67AKxVW8JVW5JwA2z4x0Y4vE2Ix0cI8IcVCY1x0267AKxV W8JVWxJwA2z4x0Y4vEx4A2jsIE14v26r4j6F4UM28EF7xvwVC2z280aVCY1x0267AKxVW8 JVW8Jr1le2I262IYc4CY6c8Ij28IcVAaY2xG8wAqjxCEc2xF0cIa020Ex4CE44I27wAqx4 xG64xvF2IEw4CE5I8CrVC2j2WlYx0E2Ix0cI8IcVAFwI0_Jr0_Jr4lYx0Ex4A2jsIE14v2 6r1j6r4UMcvjeVCFs4IE7xkEbVWUJVW8JwACjcxG0xvY0x0EwIxGrwCF04k20xvY0x0EwI xGrwCFx2IqxVCFs4IE7xkEbVWUJVW8JwC20s026c02F40E14v26r1j6r18MI8I3I0E7480 Y4vE14v26r106r1rMI8E67AF67kF1VAFwI0_JF0_Jw1lIxkGc2Ij64vIr41lIxAIcVC0I7 IYx2IY67AKxVWUJVWUCwCI42IY6xIIjxv20xvEc7CjxVAFwI0_Jr0_Gr1lIxAIcVCF04k2 6cxKx2IYs7xG6r1j6r1xMIIF0xvEx4A2jsIE14v26r1j6r4UMIIF0xvEx4A2jsIEc7CjxV AFwI0_Jr0_GrUvcSsGvfC2KfnxnUUI43ZEXa7IU1CPfJUUUUU== X-Spam-Status: No, score=-13.7 required=5.0 tests=BAYES_00, GIT_PATCH_0, KAM_DMARC_STATUS, KAM_SHORT, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1774348453586408608 X-GMAIL-MSGID: 1774348453586408608 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 --- gcc/config/loongarch/t-loongarch | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gcc/config/loongarch/t-loongarch b/gcc/config/loongarch/t-loongarch index 6d6e3435d59..e73f4f437ef 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)))