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 smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 78AAEECAAD8 for ; Fri, 16 Sep 2022 21:59:41 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 14B1541D8F; Fri, 16 Sep 2022 21:59:41 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 14B1541D8F X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aDdZlxlAAhXN; Fri, 16 Sep 2022 21:59:39 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp4.osuosl.org (Postfix) with ESMTP id 7FD3C41DA2; Fri, 16 Sep 2022 21:59:38 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 7FD3C41DA2 Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id D02731C2744 for ; Fri, 16 Sep 2022 21:58:04 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id A8FE46FAD0 for ; Fri, 16 Sep 2022 21:58:03 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org A8FE46FAD0 X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9rfP_Ug7Y1qf for ; Fri, 16 Sep 2022 21:57:59 +0000 (UTC) Received: from busybox.osuosl.org (busybox.osuosl.org [140.211.167.122]) by smtp3.osuosl.org (Postfix) with ESMTP id 99E926FAE7 for ; Fri, 16 Sep 2022 21:57:59 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 99E926FAE7 Received: by busybox.osuosl.org (Postfix, from userid 4021) id 96DAB83DF3; Fri, 16 Sep 2022 21:57:59 +0000 (UTC) From: Peter Korsgaard To: buildroot@buildroot.org Date: Fri, 16 Sep 2022 23:54:31 +0200 X-Git-Refname: refs/heads/2022.05.x X-Git-Oldrev: 7fb33d0827374b72b78737421923d5811da3a464 X-Git-Newrev: 5955fdee9cfa610b08906e349e53953ad70388d2 X-Patchwork-Hint: ignore Message-Id: <20220916215759.96DAB83DF3@busybox.osuosl.org> Subject: [Buildroot] [git commit branch/2022.05.x] package/linux-tools/linux-tool-perf.mk.in: Fix disabling of documentation X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" commit: https://git.buildroot.net/buildroot/commit/?id=5955fdee9cfa610b08906e349e53953ad70388d2 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.05.x We are trying to not build the perf documentation. However, the hook being used to do so was named incorrectly. As a result, the build steps to disable the documentation were never executed. Rename the hook from LINUX_POST_PATCH_HOOKS to LINUX_TOOLS_POST_PATCH_HOOKS to fix the issue. Fixes: 20b144666909 ("linux/tools: make it a real, separate package") Signed-off-by: Markus Mayer Tested-by: Florian Fainelli Reviewed-by: Florian Fainelli Signed-off-by: Yann E. MORIN (cherry picked from commit 612ae4bd180de764becb48f609ffe836d362a87b) Signed-off-by: Peter Korsgaard --- package/linux-tools/linux-tool-perf.mk.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/linux-tools/linux-tool-perf.mk.in b/package/linux-tools/linux-tool-perf.mk.in index d82d45973c..3ec4dc6fee 100644 --- a/package/linux-tools/linux-tool-perf.mk.in +++ b/package/linux-tools/linux-tool-perf.mk.in @@ -126,7 +126,7 @@ define PERF_DISABLE_DOCUMENTATION printf "%%:\n\t@:\n" >$(LINUX_DIR)/tools/perf/Documentation/GNUmakefile; \ fi endef -LINUX_POST_PATCH_HOOKS += PERF_DISABLE_DOCUMENTATION +LINUX_TOOLS_POST_PATCH_HOOKS += PERF_DISABLE_DOCUMENTATION # O must be redefined here to overwrite the one used by Buildroot for # out of tree build. We build perf in $(LINUX_DIR)/tools/perf/ and not just _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot