Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp680607ybt; Wed, 24 Jun 2020 08:40:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzAhFYJK7oPJcCT7ZstgsL2uTsP4Hvj/aUAxtiGnnVzS7lsRabaXlbNzE/CLKWEs2V6sZ1v X-Received: by 2002:a17:906:ce30:: with SMTP id sd16mr26499003ejb.374.1593013211127; Wed, 24 Jun 2020 08:40:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593013211; cv=none; d=google.com; s=arc-20160816; b=h27n9zmrsYJgnNZZ8wJePqHVQxr/t7YV4lEdlf/mraVfi1tham4Pt5HdpB8kPJDRz7 Xbim5nOcgm9CbkZxWTBB1pyoVHVDL9sfqtfSsJbp5aHbxAPfwuV7XIQpqQMRhO0kU2K7 Z5MOX6zVieUQ1/AP2+uonH1izOe3qd1xkMPbWzt3/U4jB0Ee/Zbx7XpKuUS7QrLeLhdb hcfqrGEd3+Ya5VuOSc618tDiKcUaJ6vn0nxKM7htMt9e6IadfL7qKvhgwrHIt9Dnd9os yIPcVJmrLzY3wLU1uHF3u4ughBJZ7CHxYCwYjAXUB5wVSW3d6JPesIaRqMv1zMoFznIL 2ewQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=Aqm3oJorcXq3Ru6aHTmjy3/xfi3eerhhMWB4VwzN9n4=; b=ieq5CgbOF42FGhlT9g2cK3lORgeCMF83WRoEvpQ98DFyv3Ix1oG9dFl7UtjBpmU/C0 5GKOcDOyKFgFG7VQxiX9YK5aQplS81nZpIQ6ECVOljjswgwIlR86UdFN55OypE3lB9sl ur4kCb503SI7bLxU5sAP7YAnvClpCL7yq7aFJbq/Ab16T/DdTwrmE4DzSOboCrYWnAIs 7ubtOP+Jk52cjZBIcoCnQwkXK1N8zeJmItm57UjYApnWUSPLPA7nsjrhjVdf5CVHOj8p WGpdGNdrncV2JfTdq0edyVUwLqyo9z0XWmP/yzdQMziyMxuXLOS23VUSlaB53P80B+hB BiXg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id pw24si13774939ejb.518.2020.06.24.08.39.47; Wed, 24 Jun 2020 08:40:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2404253AbgFXPhP (ORCPT + 99 others); Wed, 24 Jun 2020 11:37:15 -0400 Received: from mx2.suse.de ([195.135.220.15]:44168 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2404137AbgFXPhP (ORCPT ); Wed, 24 Jun 2020 11:37:15 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id C7799AC40; Wed, 24 Jun 2020 15:37:13 +0000 (UTC) Date: Wed, 24 Jun 2020 17:37:13 +0200 (CEST) From: Miroslav Benes To: Matt Helsley cc: linux-kernel@vger.kernel.org, Josh Poimboeuf , Peter Zijlstra , Steven Rostedt , Julien Thierry , Kamalesh Babulal Subject: Re: [RFC][PATCH v5 01/51] objtool: Factor out reasons to build objtool In-Reply-To: <6ac0671bef706812b1751a7a04d1854e9586e890.1592510545.git.mhelsley@vmware.com> Message-ID: References: <6ac0671bef706812b1751a7a04d1854e9586e890.1592510545.git.mhelsley@vmware.com> User-Agent: Alpine 2.21 (LSU 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, this is a nice improvement. > diff --git a/tools/objtool/Makefile b/tools/objtool/Makefile > index 7770edcda3a0..aa0c6d3d2d46 100644 > --- a/tools/objtool/Makefile > +++ b/tools/objtool/Makefile > @@ -1,6 +1,7 @@ > # SPDX-License-Identifier: GPL-2.0 > include ../scripts/Makefile.include > include ../scripts/Makefile.arch > +include $(OUTPUT)/../../include/config/auto.conf > > # always use the host compiler > ifneq ($(LLVM),) > @@ -47,8 +48,8 @@ CFLAGS += $(if $(elfshdr),,-DLIBELF_USE_DEPRECATED) > > AWK = awk > > -SUBCMD_CHECK := n > -SUBCMD_ORC := n > +SUBCMD_CHECK := $(CONFIG_OBJTOOL_SUBCMD_CHECK) > +SUBCMD_ORC := $(CONFIG_OBJTOOL_SUBCMD_ORC) > > ifeq ($(SRCARCH),x86) > SUBCMD_CHECK := y I guess you can remove ifeq for x86 in this patch, right? You do it later in 3/51, but it seems to belong here. Miroslav