Skip to contentSkip to conversation

linux: provide host pahole to make

PATCH New thilo zirnstein 1 participant 1 message Jun 19

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 linux: provide host pahole to make

Use the pahole built by buildroot instead of the system wide installation.

---
 linux/linux.mk | 4 ++++
 1 file changed, 4 insertions(+)
linux/linux.mk +4 -0
index e790daff66..1c9d3fcdf8 100644
@@ -166,6 +166,10 @@ LINUX_MAKE_FLAGS = \
 	REGENERATE_PARSERS=1 \
 	DEPMOD=true
 
+ifeq ($(BR2_LINUX_KERNEL_NEEDS_HOST_PAHOLE),y)
+LINUX_MAKE_FLAGS += PAHOLE=$(HOST_DIR)/bin/pahole
+endif
+
 ifeq ($(BR2_REPRODUCIBLE),y)
 LINUX_MAKE_ENV += \
 	KBUILD_BUILD_VERSION=1 \
Signature · 6 lines
2.43.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot