From patchwork Tue Nov 15 10:02:29 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tiezhu Yang X-Patchwork-Id: 20279 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp2624273wru; Tue, 15 Nov 2022 02:07:53 -0800 (PST) X-Google-Smtp-Source: AA0mqf6K15n5Z4/asbT//xEm/Trh2Hj8wJE9xfnet9EQwACJZgi/8iLVCA9XAGrpNvTgdrl10jcD X-Received: by 2002:aa7:db46:0:b0:459:278b:7a8b with SMTP id n6-20020aa7db46000000b00459278b7a8bmr14018495edt.355.1668506872877; Tue, 15 Nov 2022 02:07:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668506872; cv=none; d=google.com; s=arc-20160816; b=P9AFvm8x3INL+o0F5KAanTzTERjPjiL2vRcBzzqxcIKA/Ci8imvnHvGdXf/9AZAjqI Idt8EUt9mVq8HXlwwQzgMkVYN63sK4Eo+SgPLkd4d4O0sGi2EMMudOKOQ3xR1JkdaF4b Iy7+gHIEVBz1/y6oj6r8Bja1XZ/vL/gbUZ51nMGbl/07eub+XIs2TpUPxz02nW5hsQlZ eoHhb2lAxC1ouWelejtBB4k9IzPvYogAu7KtNU0qEdaNd24IOeAKrtPNtzp7RjLM+czJ mhONtngv0pqDDgqtncMV8DHX6m7iSm1HekL3dBB+uBJ3BFUZ3AUvpyXZgQk/6eErvw8F VmJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=Y+rjCOgHJHssDO+dcmR1KxFN5W067d5MjPhsEDf266M=; b=Wcb3pH0frhfftbk4U+scJMm+Dxv3B/gaE3ZFGREsBBvYuqPO+ouD762X62i0a4/vv4 rtzygvKomuY8MWArFlv3zDFYCla3KMkNQzmsurTPC1bIwBBtpMsRZp6JW9LcYsjqk7UI wTiQdRIuAcgnzasD9p95QlWTZGEYjuitR9CfurukPx0MZUtpH5b0pDhWK6VKtl89cZgR e/CzvzLBfM3PzcMXH/y2iHRWhmHZyTX4FZlaRGKv2+DPtqaR/kG3SPtHYYNZXHG2d/Lg vFvpZgFwBO9YTUcb+efjGoTlVFGQl1WdewooPI0Dm+IaR9ubaLd1Ex0ZZCW86W7KjzH4 2P5w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ds14-20020a170907724e00b0078d4b2754b5si12805909ejc.332.2022.11.15.02.07.29; Tue, 15 Nov 2022 02:07:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238009AbiKOKCj (ORCPT + 99 others); Tue, 15 Nov 2022 05:02:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53478 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232212AbiKOKCe (ORCPT ); Tue, 15 Nov 2022 05:02:34 -0500 Received: from loongson.cn (mail.loongson.cn [114.242.206.163]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 2550423BEF for ; Tue, 15 Nov 2022 02:02:31 -0800 (PST) Received: from loongson.cn (unknown [113.200.148.30]) by gateway (Coremail) with SMTP id _____8AxSti2Y3NjMjgHAA--.19777S3; Tue, 15 Nov 2022 18:02:30 +0800 (CST) Received: from linux.localdomain (unknown [113.200.148.30]) by localhost.localdomain (Coremail) with SMTP id AQAAf8AxDuK2Y3Nj3YYTAA--.52195S2; Tue, 15 Nov 2022 18:02:30 +0800 (CST) From: Tiezhu Yang To: Huacai Chen , WANG Xuerui Cc: loongarch@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH] LoongArch: Makefile: use "grep -E" instead of "egrep" Date: Tue, 15 Nov 2022 18:02:29 +0800 Message-Id: <1668506549-28261-1-git-send-email-yangtiezhu@loongson.cn> X-Mailer: git-send-email 2.1.0 X-CM-TRANSID: AQAAf8AxDuK2Y3Nj3YYTAA--.52195S2 X-CM-SenderInfo: p1dqw3xlh2x3gn0dqz5rrqw2lrqou0/ X-Coremail-Antispam: 1Uk129KBjvdXoWruFWrur1xCr13CF15Gw45ZFb_yoWfWrcE9r Z3Jw1DK3y8Ja1kZws8uFyYyr1DCw1qyFs8Zrs7Zw1UC34Yvry3JrW7Wwn8AF10g3y2gFWa vayxZFy5Ar1UtjkaLaAFLSUrUUUUjb8apTn2vfkv8UJUUUU8wcxFpf9Il3svdxBIdaVrn0 xqx4xG64xvF2IEw4CE5I8CrVC2j2Jv73VFW2AGmfu7bjvjm3AaLaJ3UjIYCTnIWjp_UUUY 17kC6x804xWl14x267AKxVWUJVW8JwAFc2x0x2IEx4CE42xK8VAvwI8IcIk0rVWrJVCq3w AFIxvE14AKwVWUXVWUAwA2ocxC64kIII0Yj41l84x0c7CEw4AK67xGY2AK021l84ACjcxK 6xIIjxv20xvE14v26r4j6ryUM28EF7xvwVC0I7IYx2IY6xkF7I0E14v26r4j6F4UM28EF7 xvwVC2z280aVAFwI0_Gr1j6F4UJwA2z4x0Y4vEx4A2jsIEc7CjxVAFwI0_Cr1j6rxdM2AI xVAIcxkEcVAq07x20xvEncxIr21l57IF6xkI12xvs2x26I8E6xACxx1l5I8CrVACY4xI64 kE6c02F40Ex7xfMcIj6xIIjxv20xvE14v26r106r15McIj6I8E87Iv67AKxVWxJVW8Jr1l Ox8S6xCaFVCjc4AY6r1j6r4UM4x0Y48IcxkI7VAKI48JMxAIw28IcxkI7VAKI48JMxC20s 026xCaFVCjc4AY6r1j6r4UMI8I3I0E5I8CrVAFwI0_Jr0_Jr4lx2IqxVCjr7xvwVAFwI0_ JrI_JrWlx4CE17CEb7AF67AKxVWUAVWUtwCIc40Y0x0EwIxGrwCI42IY6xIIjxv20xvE14 v26r1j6r1xMIIF0xvE2Ix0cI8IcVCY1x0267AKxVWUJVW8JwCI42IY6xAIw20EY4v20xva j40_Jr0_JF4lIxAIcVC2z280aVAFwI0_Jr0_Gr1lIxAIcVC2z280aVCY1x0267AKxVWUJV W8JbIYCTnIWIevJa73UjIFyTuYvjxUFyCJUUUUU X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749556263134543042?= X-GMAIL-MSGID: =?utf-8?q?1749556263134543042?= The latest version of grep claims the egrep is now obsolete so the build now contains warnings that look like: egrep: warning: egrep is obsolescent; using grep -E fix this up by moving the LoongArch Makefile to use "grep -E" instead. Signed-off-by: Tiezhu Yang --- arch/loongarch/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/loongarch/Makefile b/arch/loongarch/Makefile index a0fc1f9..5232d8c 100644 --- a/arch/loongarch/Makefile +++ b/arch/loongarch/Makefile @@ -97,7 +97,7 @@ KBUILD_LDFLAGS += -m $(ld-emul) ifdef CONFIG_LOONGARCH CHECKFLAGS += $(shell $(CC) $(KBUILD_CFLAGS) -dM -E -x c /dev/null | \ - egrep -vw '__GNUC_(MINOR_|PATCHLEVEL_)?_' | \ + grep -E -vw '__GNUC_(MINOR_|PATCHLEVEL_)?_' | \ sed -e "s/^\#define /-D'/" -e "s/ /'='/" -e "s/$$/'/" -e 's/\$$/&&/g') endif