Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp1036346ybh; Wed, 18 Mar 2020 13:46:27 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsC0lJW76DDbqV/dkTR5hDb68dgFuOljGJHOFB7EC99HKYC2JpHgS88ACGHOmghMTjNv7FL X-Received: by 2002:a05:6830:23b6:: with SMTP id m22mr5475320ots.225.1584564387131; Wed, 18 Mar 2020 13:46:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584564387; cv=none; d=google.com; s=arc-20160816; b=TuP3kPnU/svXK4jKgThnswSshZa292TvBiBac0oy8TGX66w8fRT5Yl0vP7iqwTTMXX 8e8FwK8aedFNKEyjsIutrd2i3vgPhY4kcvIvF0eowiiwYb2i8DeV0+XdSh6RJC/YzfFv g5t7WCWlwUumsCQuRMy52Imj/ty9IdE+61Y5LDJ7G48U5t0tsGZSMn269NrwhugE5dHS Ex7nKA+I9BPCyHrmBQVfh05KfpNZWH+FbRpmHRJ5bY502Q61NXbfiUfT+Q3WLVHa+y04 Vw7IrdUtEA/yxDggLYqyTkrITDMvU/oHfV8+Mv1sqPMKm2rbQSE+lxWGZ/AR142pMXe1 cixw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=0iVUmp4XHbcWjKcbdInXMjVNWvfBHdF385OqGgpOHdw=; b=vYiRwC1XHJdVa8aeNVeRIWlj6rHCagu4FWAro/+PaJUf6HhXqPtZfzobEAjktRCWAe hnjNnsOZZiaN5w2YMD6+/idHfXlIgvg7wP7pzh/bu9lzpNZ0qadz5d4hTT7zadOpBwI4 TAjl8FZBB+gn+JT5oK+y5nphWe9Hte6B4/LKV3JEF3p0xoFAB8kodKRFsRyp9A4LpLnQ LbGYTxhwEPoO8j55BJf+f/D57aE2IHksza0VkbN7g+dYiS5oyx5rOwJ1qVDOhoSvbXT9 XZMuJCo577NIksDXtLai1o8CDpoy9JUSZI4buvJU0b5VgopbXP6WcDAeUgjuNs1SIUfl SebQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f20si27069oti.224.2020.03.18.13.46.14; Wed, 18 Mar 2020 13:46:27 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726877AbgCRUpc convert rfc822-to-8bit (ORCPT + 99 others); Wed, 18 Mar 2020 16:45:32 -0400 Received: from us-smtp-2.mimecast.com ([205.139.110.61]:25266 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726647AbgCRUpb (ORCPT ); Wed, 18 Mar 2020 16:45:31 -0400 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-284-kcuabduPOgCQd7eUPJdaaA-1; Wed, 18 Mar 2020 16:45:27 -0400 X-MC-Unique: kcuabduPOgCQd7eUPJdaaA-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 0D5B5800D5E; Wed, 18 Mar 2020 20:45:26 +0000 (UTC) Received: from krava.redhat.com (unknown [10.40.192.164]) by smtp.corp.redhat.com (Postfix) with ESMTP id D7F035C545; Wed, 18 Mar 2020 20:45:23 +0000 (UTC) From: Jiri Olsa To: Arnaldo Carvalho de Melo Cc: lkml , Ingo Molnar , Namhyung Kim , Alexander Shishkin , Peter Zijlstra , Michael Petlan Subject: [PATCH] perf tools: Unify a bit the build directory output Date: Wed, 18 Mar 2020 21:45:22 +0100 Message-Id: <20200318204522.1200981-1-jolsa@kernel.org> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: kernel.org Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Removing the extra 'SUBDIR' line from clean and doc build output. Because it's annoying.. ;-) Before: $ make clean ... SUBDIR Documentation CLEAN Documentation After: $ make clean ... CLEAN Documentation Before: $ make doc BUILD: Doing 'make -j8' parallel build SUBDIR Documentation ASCIIDOC perf-stat.html ... After: $ make doc BUILD: Doing 'make -j8' parallel build ASCIIDOC perf-stat.html ... Signed-off-by: Jiri Olsa --- tools/perf/Makefile.perf | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tools/perf/Makefile.perf b/tools/perf/Makefile.perf index 3eda9d4b88e7..a02aca9b21f4 100644 --- a/tools/perf/Makefile.perf +++ b/tools/perf/Makefile.perf @@ -231,6 +231,7 @@ TRACE_EVENT_DIR = $(srctree)/tools/lib/traceevent/ BPF_DIR = $(srctree)/tools/lib/bpf/ SUBCMD_DIR = $(srctree)/tools/lib/subcmd/ LIBPERF_DIR = $(srctree)/tools/lib/perf/ +DOC_DIR = $(srctree)/tools/perf/Documentation/ # Set FEATURE_TESTS to 'all' so all possible feature checkers are executed. # Without this setting the output feature dump file misses some features, for @@ -792,7 +793,6 @@ $(LIBSUBCMD): FORCE $(Q)$(MAKE) -C $(SUBCMD_DIR) O=$(OUTPUT) $(OUTPUT)libsubcmd.a $(LIBSUBCMD)-clean: - $(call QUIET_CLEAN, libsubcmd) $(Q)$(MAKE) -C $(SUBCMD_DIR) O=$(OUTPUT) clean help: @@ -832,7 +832,7 @@ INSTALL_DOC_TARGETS += quick-install-doc quick-install-man quick-install-html # 'make doc' should call 'make -C Documentation all' $(DOC_TARGETS): - $(QUIET_SUBDIR0)Documentation $(QUIET_SUBDIR1) $(@:doc=all) + $(Q)$(MAKE) -C $(DOC_DIR) O=$(OUTPUT) $(@:doc=all) TAG_FOLDERS= . ../lib ../include TAG_FILES= ../../include/uapi/linux/perf_event.h @@ -959,7 +959,7 @@ install-python_ext: # 'make install-doc' should call 'make -C Documentation install' $(INSTALL_DOC_TARGETS): - $(QUIET_SUBDIR0)Documentation $(QUIET_SUBDIR1) $(@:-doc=) + $(Q)$(MAKE) -C $(DOC_DIR) O=$(OUTPUT) $(@:-doc=) ### Cleaning rules @@ -1008,7 +1008,8 @@ clean:: $(LIBTRACEEVENT)-clean $(LIBAPI)-clean $(LIBBPF)-clean $(LIBSUBCMD)-clea $(OUTPUT)$(rename_flags_array) \ $(OUTPUT)$(arch_errno_name_array) \ $(OUTPUT)$(sync_file_range_arrays) - $(QUIET_SUBDIR0)Documentation $(QUIET_SUBDIR1) clean + $(call QUIET_CLEAN, Documentation) \ + $(MAKE) -C $(DOC_DIR) O=$(OUTPUT) clean >/dev/null # # To provide FEATURE-DUMP into $(FEATURE_DUMP_COPY) -- 2.25.1