[DTrace-devel] [PATCH 1/7] bpf: fix linking of include/asm directory

Kris Van Hees kris.van.hees at oracle.com
Tue Dec 6 21:50:19 UTC 2022


The bpf/Build file contained code to select the appropriate include
directory to link into the DTrace build directory hierarchy, but it
then happily overwrote that with a link to /usr/include/asm.

Signed-off-by: Kris Van Hees <kris.van.hees at oracle.com>
---
 bpf/Build | 1 -
 1 file changed, 1 deletion(-)

diff --git a/bpf/Build b/bpf/Build
index 41de1bb8..5af8616d 100644
--- a/bpf/Build
+++ b/bpf/Build
@@ -11,7 +11,6 @@ $(objdir)/include/.dir.stamp:
 			break; \
 		fi; \
 	done
-	ln -sf /usr/include/asm $(objdir)/include
 	ln -sf /usr/include/asm-generic $(objdir)/include
 	ln -sf /usr/include/linux $(objdir)/include
 	@touch $(objdir)/include/.dir.stamp
-- 
2.37.2




More information about the DTrace-devel mailing list