From patchwork Fri Feb 24 00:00:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Max Filippov X-Patchwork-Id: 61093 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp605110wrd; Thu, 23 Feb 2023 16:02:34 -0800 (PST) X-Google-Smtp-Source: AK7set+ggcY7vsFq59HhAqeNGcN3914wI2tgsNM7bjISH03ZbjbtFfaAsL3z2hBk5lL/kSL0RbqV X-Received: by 2002:aa7:d8c3:0:b0:4af:61f6:53c4 with SMTP id k3-20020aa7d8c3000000b004af61f653c4mr7378813eds.32.1677196954778; Thu, 23 Feb 2023 16:02:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677196954; cv=none; d=google.com; s=arc-20160816; b=secE+a3OTkzhMgfIxmbvZOHbTaxWnVL5dNJrlopyKpcqVgKJ0067ml7jSybYAWyucq +l4yLNVFzjOsU72OU5kUi+RPEZHg/sBBZzowUGm50ykWpQP6FAQFUklTTtojGDSPep0J cb/hqDxYNvEa2Dmnw9MwJMWFvvsuehbR60m0hFNb1Ysu/Xu5TaRsFPpgyRfQWtjvOYEg vaDXX28RTCniebLsoBQjj5UupWobpR0ILXIMsLs1lFvGFcprsas2WMqnaUCi8Y2KMNxY JUnULxDq9tlMmI9xlSiuAKj1pRy0t2vY4f6ho26rbP2MJODzy4H/2uwnzrVvVDQkfDG/ 2KpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:from:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence :content-transfer-encoding:mime-version:message-id:date:subject:cc :to:dmarc-filter:delivered-to:dkim-signature:dkim-filter; bh=bLAlou4QT6DzZlU1A0jz7KqtKE8s86+wSi9mjAgv1BM=; b=L2nDXJv3Bp8pNNEeTCZQfBE2cGCOwlq+np6iqhopn1dT01PqiJzPuJZus915UwtTcR u1Nfxc8Fc67YZuhZTS9HG+plMFWSpXctAjJrm+np0Q5ncbqHcC5rOYZlACtJ+m0nbRQY vz+tWNgDSZH+D27gbJIkVE+pgOdjymxsMVQzD/+g8vds9rvV/oJIyDvRD7iX8tThqiIp EFHpnG7YeXkBWj2ME05bkA3tHA3d1do1AHNm9AiaHT1sHoc6p0r27u9Yz8WYpScjhQrR febw09/t9elsEoLAkdW+zF7Q0tBVK3VPYGybo0DDDVlbx55iCvJIa8Q2xXbN7T9zMnlS Pf3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=XstrQpAa; 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"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id n17-20020aa7c451000000b004ab15df672asi12222436edr.469.2023.02.23.16.02.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Feb 2023 16:02:34 -0800 (PST) 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; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=XstrQpAa; 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"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 8CDDC385843D for ; Fri, 24 Feb 2023 00:02:33 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8CDDC385843D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1677196953; bh=bLAlou4QT6DzZlU1A0jz7KqtKE8s86+wSi9mjAgv1BM=; h=To:Cc:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=XstrQpAaHvWQB4X+g/W4yl927TXQEmOuoUrHfs2Ehqos4/yIKGZZNUA6yDfheHDzl kKlNj23SuNogPgaZ8NKS74n3ZsBms5V6boXGFERyZHWR9jd5B72tSUme9WJVRuxYfF z+/KD+Nw2FSWeThxNLd0n6Dkd3gqhrvQUc311KHw= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-pl1-x631.google.com (mail-pl1-x631.google.com [IPv6:2607:f8b0:4864:20::631]) by sourceware.org (Postfix) with ESMTPS id 012C03858C00 for ; Fri, 24 Feb 2023 00:00:18 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 012C03858C00 Received: by mail-pl1-x631.google.com with SMTP id q11so15288109plx.5 for ; Thu, 23 Feb 2023 16:00:18 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=bLAlou4QT6DzZlU1A0jz7KqtKE8s86+wSi9mjAgv1BM=; b=5kXC0IiajkrfQ6IzsMUuTEcCbz2nV9LVsWTvdrLfTwuWXLxRL7XvgZEhw8ZTXkkbvH XBh852DWw1RduTseFVk1Ug2baHG6mi/2AUzwM1MMU3n7AFfhbokEA2eBEuoq2VP/6qTv oBl9aJkpgAn9xCfpQ2IJk89n12YSNyr+2j0MIIRIqL0g6BtM2+ZRsk8uExMD64f3C/Rp sur0IUH6cACnCLXA1dHidNzEXJwxb+E62TYhlJFvQFsXn+poZvGTfzFC9nHLLU0qodRz NjhkykJW3QiMJ/J4sPPJhpYTg2zLQ3uvXdQh77kGvhzTqc2T9aE0Wko74ANces5HX68+ Msdw== X-Gm-Message-State: AO0yUKWSav2sgkftbajcy9WpVOA9xLy9MyCwmRSz5/GDtriiRavUAMNX 7bsYSZ0KqdJ0x91YVdvKBUWuhkEprCs= X-Received: by 2002:a17:90b:4b92:b0:234:bf6e:5651 with SMTP id lr18-20020a17090b4b9200b00234bf6e5651mr14473523pjb.13.1677196817546; Thu, 23 Feb 2023 16:00:17 -0800 (PST) Received: from octofox.hsd1.ca.comcast.net ([2601:641:401:1d20:3b58:b0c5:d9f6:d700]) by smtp.gmail.com with ESMTPSA id x7-20020a17090aca0700b0023317104415sm262809pjt.17.2023.02.23.16.00.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Feb 2023 16:00:16 -0800 (PST) To: gcc-patches@gcc.gnu.org Cc: Jakub Jelinek , Max Filippov Subject: [COMMITTED 1/2] gcc: xtensa: rename xtensa-dynconfig.c and update its build rule Date: Thu, 23 Feb 2023 16:00:04 -0800 Message-Id: <20230224000005.3355736-1-jcmvbkbc@gmail.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-Spam-Status: No, score=-8.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, FROM_LOCAL_NOVOWEL, GIT_PATCH_0, HK_RANDOM_ENVFROM, HK_RANDOM_FROM, RCVD_IN_DNSWL_NONE, 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: , X-Patchwork-Original-From: Max Filippov via Gcc-patches From: Max Filippov Reply-To: Max Filippov Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1758668474269783164?= X-GMAIL-MSGID: =?utf-8?q?1758668474269783164?= gcc/ * config/xtensa/t-xtensa (xtensa-dynconfig.o): Use $(COMPILE) and $(POSTCOMPILE) instead of manual dependency listing. * config/xtensa/xtensa-dynconfig.c: Rename to ... * config/xtensa/xtensa-dynconfig.cc: ... this. --- gcc/config/xtensa/t-xtensa | 7 +++---- .../xtensa/{xtensa-dynconfig.c => xtensa-dynconfig.cc} | 0 2 files changed, 3 insertions(+), 4 deletions(-) rename gcc/config/xtensa/{xtensa-dynconfig.c => xtensa-dynconfig.cc} (100%) diff --git a/gcc/config/xtensa/t-xtensa b/gcc/config/xtensa/t-xtensa index d95bd6f15462..cf6574be0353 100644 --- a/gcc/config/xtensa/t-xtensa +++ b/gcc/config/xtensa/t-xtensa @@ -20,7 +20,6 @@ TM_H += $(srcdir)/../include/xtensa-config.h \ $(srcdir)/../include/xtensa-dynconfig.h $(out_object_file): gt-xtensa.h -xtensa-dynconfig.o: $(srcdir)/config/xtensa/xtensa-dynconfig.c \ - $(CONFIG_H) $(SYSTEM_H) $(srcdir)/../include/xtensa-dynconfig.h \ - $(srcdir)/../include/xtensa-config.h - $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $< +xtensa-dynconfig.o: $(srcdir)/config/xtensa/xtensa-dynconfig.cc + $(COMPILE) $< + $(POSTCOMPILE) diff --git a/gcc/config/xtensa/xtensa-dynconfig.c b/gcc/config/xtensa/xtensa-dynconfig.cc similarity index 100% rename from gcc/config/xtensa/xtensa-dynconfig.c rename to gcc/config/xtensa/xtensa-dynconfig.cc