Skip to contentSkip to conversation

package/linux-tools/linux-tool-perf.mk.in: Fix disabling of documentation

Buildroot Peter Korsgaard 1 participant 1 message Sep 16, 2022

lore
Share & tools
lore
#0 lore raw

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")
(cherry picked from commit 612ae4bd180de764becb48f609ffe836d362a87b)
---
 package/linux-tools/linux-tool-perf.mk.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/linux-tools/linux-tool-perf.mk.in +1 -1
index d82d45973c..3ec4dc6fee 100644
@@ -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
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot