From patchwork Wed Feb 1 16:26:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: tip-bot2 for Thomas Gleixner X-Patchwork-Id: 51466 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp377213wrn; Wed, 1 Feb 2023 08:31:35 -0800 (PST) X-Google-Smtp-Source: AK7set+uD57Fv3A/dJnoyTh24TVMk45ulAKJlfooLh4W0Hf4/LBic9IFUxS7dKl5D8xI4U8efp6b X-Received: by 2002:a17:902:d1d2:b0:196:357f:9382 with SMTP id g18-20020a170902d1d200b00196357f9382mr1960629plb.24.1675269094936; Wed, 01 Feb 2023 08:31:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675269094; cv=none; d=google.com; s=arc-20160816; b=Utf+VYXV3zyg9ztHxCBShU0rVJjym9c23N2nw20stM0zHQ6dT+AVNovnpH8iabAW3w ycsJ3mkpH38Wu0iAvscXhbbYH+9Ed6qwadyK13rxnQ17J4f8DfhEcfAlBA+u6yzkKqIb 7baS1+Lii04eGS3drcH7loghCrGxeSK7UVbxLPRtRbvzSfP+kyfkZKh85uIXZWMZd6I3 SkNLhZacAzj/wTOQNgnwHyzIcaL8QjZnvsi65Ga/Ouv7Xy4GC9FQry4OP8/scHb2AJz4 4k0OeUyXq5I7T+2c3sbF6rqe7M+uuF97bYte7d9juHXCx4Jb8He4+dnIbFav75essX0T fYSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:references:in-reply-to:cc:subject :to:reply-to:sender:from:dkim-signature:dkim-signature:date; bh=jda8ZouveWhQ3kglM4IQHdfr7eRw0nMTEcZ4EPxiHAk=; b=w9LNjG6dahi3pmAgZOZgF2J1ybB5alLa4YhEko6NEa5SmWmQ1JEB6uh8G40BF+nmOd 0OCJMtT6DigOZFc9nwOSegvmXj0QXGdDVr2eYLIExqwbk/WPRqqJfhTvPJBs/4jj2Swy zS4MTxHwcoWGbEKc30n6BpKGW7vFhFI8jlHKUMwk7548VFcjjyqpa01/5RlKCVO9H6aV wtwfBDSuirTbmeJKc2dHlVgCur0vUfuPPqhm5pUDYenilKcqF8pEQQP2LTi57Wi5eyNG KofdumpLs8pwC+SF0Efee75SGmzuP+zgs6rU5RBWjWqZpCd8e6uDN/jxvwbh8I4r3YBl 2VhA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=kvflDRNf; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=J4ytH9ea; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g11-20020a170902d1cb00b00189c05664e8si15937022plb.563.2023.02.01.08.31.22; Wed, 01 Feb 2023 08:31:34 -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; dkim=pass header.i=@linutronix.de header.s=2020 header.b=kvflDRNf; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=J4ytH9ea; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232261AbjBAQ0u (ORCPT + 99 others); Wed, 1 Feb 2023 11:26:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59510 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231664AbjBAQ0i (ORCPT ); Wed, 1 Feb 2023 11:26:38 -0500 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0D4C679229; Wed, 1 Feb 2023 08:26:36 -0800 (PST) Date: Wed, 01 Feb 2023 16:26:35 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1675268795; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=jda8ZouveWhQ3kglM4IQHdfr7eRw0nMTEcZ4EPxiHAk=; b=kvflDRNfTf9pqh2czJOuExzbiBw7jI5xtv/XNaSVydbhBuUTlRz4HrU+iH9p4M0rwrHCYe tu4EQ6NNm54SR9AE82NzV5eLUmyYUfeENvlDwrdqSnfoQGHWltQVt4lnytYBIr/RnsS29R RfLDTo/4j4MgOiynAHyfLlZMP4F9IHa4ndn2YCblDDC1j9nMrsFdBtERQUHQrsmDbHJIra pjKV741vw1LL1l+iwsnwo1NBBGv1PuzLWJHV1RSJ9Oc8Gc6leIHVo8vUZj1gGSazOKQCyg iDH6qDyeGvnGzjm7Sq7QTalHBaLzG8YYAP8uKP33TeV12rAsumcV7PVDLbceDw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1675268795; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=jda8ZouveWhQ3kglM4IQHdfr7eRw0nMTEcZ4EPxiHAk=; b=J4ytH9eafIJ2QEg8a0jyMjOniDsU7K40lxWmneB3xMSdKnR3VAo3pEzyXY+lvpbFws+AH7 UyDCCO5Do9hJ/rDw== From: "tip-bot2 for Ian Rogers" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: objtool/core] objtool: Properly support make V=1 Cc: Ian Rogers , Josh Poimboeuf , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20230126190606.40739-3-irogers@google.com> References: <20230126190606.40739-3-irogers@google.com> MIME-Version: 1.0 Message-ID: <167526879529.4906.12024408691779429634.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, 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?1756113274927035632?= X-GMAIL-MSGID: =?utf-8?q?1756646966931592938?= The following commit has been merged into the objtool/core branch of tip: Commit-ID: 8c4526ca6a45e7ff915c2b33b54db6b773291fac Gitweb: https://git.kernel.org/tip/8c4526ca6a45e7ff915c2b33b54db6b773291fac Author: Ian Rogers AuthorDate: Thu, 26 Jan 2023 11:06:05 -08:00 Committer: Josh Poimboeuf CommitterDate: Mon, 30 Jan 2023 16:28:16 -08:00 objtool: Properly support make V=1 The Q variable was being used but never correctly set up. Add the setting up and use in place of @. Signed-off-by: Ian Rogers Link: https://lore.kernel.org/r/20230126190606.40739-3-irogers@google.com Signed-off-by: Josh Poimboeuf --- tools/objtool/Makefile | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/tools/objtool/Makefile b/tools/objtool/Makefile index 3505ae4..d54b669 100644 --- a/tools/objtool/Makefile +++ b/tools/objtool/Makefile @@ -45,6 +45,12 @@ CFLAGS += $(if $(elfshdr),,-DLIBELF_USE_DEPRECATED) AWK = awk MKDIR = mkdir +ifeq ($(V),1) + Q = +else + Q = @ +endif + BUILD_ORC := n ifeq ($(SRCARCH),x86) @@ -56,18 +62,18 @@ export srctree OUTPUT CFLAGS SRCARCH AWK include $(srctree)/tools/build/Makefile.include $(OBJTOOL_IN): fixdep FORCE - @$(CONFIG_SHELL) ./sync-check.sh - @$(MAKE) $(build)=objtool + $(Q)$(CONFIG_SHELL) ./sync-check.sh + $(Q)$(MAKE) $(build)=objtool $(OBJTOOL): $(LIBSUBCMD) $(OBJTOOL_IN) $(QUIET_LINK)$(CC) $(OBJTOOL_IN) $(LDFLAGS) -o $@ $(LIBSUBCMD_OUTPUT): - @$(MKDIR) -p $@ + $(Q)$(MKDIR) -p $@ $(LIBSUBCMD): fixdep $(LIBSUBCMD_OUTPUT) FORCE - @$(MAKE) -C $(LIBSUBCMD_DIR) O=$(LIBSUBCMD_OUTPUT) \ + $(Q)$(MAKE) -C $(LIBSUBCMD_DIR) O=$(LIBSUBCMD_OUTPUT) \ DESTDIR=$(LIBSUBCMD_OUTPUT) prefix= subdir= \ $@ install_headers