From 9d97ac7aa00b4662a2d031451c9d7e65028fe8c7 Mon Sep 17 00:00:00 2001 From: Markus Mayer Date: Tue, 9 Aug 2022 13:35:05 -0700 Subject: [PATCH] package/linux-tools/linux-tool-perf.mk.in: Fix disabling of documentation 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