From patchwork Fri Dec 17 00:42:12 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steven Rostedt X-Patchwork-Id: 12683303 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C444EC433FE for ; Fri, 17 Dec 2021 00:42:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229863AbhLQAmW (ORCPT ); Thu, 16 Dec 2021 19:42:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46124 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230250AbhLQAmU (ORCPT ); Thu, 16 Dec 2021 19:42:20 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9DE02C06173F for ; Thu, 16 Dec 2021 16:42:19 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 6635FB8268C for ; Fri, 17 Dec 2021 00:42:18 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BDA54C36AED; Fri, 17 Dec 2021 00:42:16 +0000 (UTC) Received: from rostedt by gandalf.local.home with local (Exim 4.95) (envelope-from ) id 1my1KB-0004DI-SO; Thu, 16 Dec 2021 19:42:15 -0500 From: Steven Rostedt To: linux-trace-devel@vger.kernel.org Cc: "Steven Rostedt (VMware)" Subject: [PATCH 7/9] libtracefs: Quiet "Nothing to be done for" messages Date: Thu, 16 Dec 2021 19:42:12 -0500 Message-Id: <20211217004214.16074-8-rostedt@goodmis.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211217004214.16074-1-rostedt@goodmis.org> References: <20211217004214.16074-1-rostedt@goodmis.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-trace-devel@vger.kernel.org From: "Steven Rostedt (VMware)" When doing a make after everything is already built, we have "Nothing to be done" messages that are rather annoying. $ make DESCEND src libtracefs.so make[1]: Nothing to be done for 'libtracefs.so'. DESCEND src libtracefs.a make[1]: '/work/git/libtracefs.git/lib/tracefs/libtracefs.a' is up to date. This is because the target in the src directory for these are already done, so it reports there is nothing to be done, as that's what make does if you specify a target (and the descent into he directory specifies the target that is displayed). By marking the target as .PHONY will suppress that message. Because "libtracefs.so" depends on $(LIBTRACEFS_SHARED_SO), the latter needs to be part of the .PHONY and not the former. Signed-off-by: Steven Rostedt (VMware) --- src/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Makefile b/src/Makefile index 8f258a218f97..f284c70a640a 100644 --- a/src/Makefile +++ b/src/Makefile @@ -70,3 +70,5 @@ ifneq ($(dep_includes),) endif $(bdir)/tracefs-sqlhist.o tracefs-sqlhist.o: sqlhist.tab.h + +.PHONY: $(LIBTRACEFS_SHARED_SO) $(LIBTRACEFS_STATIC)