Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp6686240rwb; Tue, 15 Nov 2022 02:09:05 -0800 (PST) X-Google-Smtp-Source: AA0mqf7UJCbXAfeGI9qWrQLMLG4nTg3Gym/2xkYVVEMep2sCBgRFskO1Vryu/1qAm+4btabreTtR X-Received: by 2002:aa7:c987:0:b0:461:e8c4:d21f with SMTP id c7-20020aa7c987000000b00461e8c4d21fmr14311783edt.186.1668506945439; Tue, 15 Nov 2022 02:09:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668506945; cv=none; d=google.com; s=arc-20160816; b=qsYD7hISofapg2y42RmV3oNJ7GHU39t6/Fp4QgPaSutAOTlNZzJ6rCoVqauQdmt6Yh sY4zzWy9zBO4FfusmbqdD+I0AeOpcLkPlorFjDltkrr8fekdnwlctOq1W+rd/AIiRhYb 3bh9OJD6CwDWMFFxjSTGo2LGiBtjaETsYwmnll1PFrh1HPM8SRxAupjfG691DhJQLBGX MuRiNyhN3yREn6+lVFe4BYlboHjYBKvhUf1lSg7Fhf1NuJKuYD9zc4vAZ9eZkBRpeA8I xnFWhmnoCvvbIiSK80zIJhQaYMRftJNn+RYz3oCLP71UkpO0UtfHuyxHxR5+wEJvc1sG 7cJA== 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 Return-Path: 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.08.43; Tue, 15 Nov 2022 02:09:05 -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 + 88 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 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 -- 2.1.0