File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ foreach(TRACE_C_FILE ${TRACE_C_FILES})
112112endforeach ()
113113
114114# Create a custom target specifically for generating eBPF skeletons
115- add_custom_target (generate_skeletons DEPENDS ${TRACE_SKEL_HEADERS} )
115+ add_custom_target (flb-ebpf- generate_skeletons DEPENDS ${TRACE_SKEL_HEADERS} )
116116
117117# Create a custom target to compile all eBPF programs (all trace bpf.c files)
118118add_custom_target (compile_ebpf ALL DEPENDS ${TRACE_OBJ_FILES} ${TRACE_SKEL_HEADERS} )
Original file line number Diff line number Diff line change @@ -509,6 +509,11 @@ if(FLB_BINARY)
509509 add_dependencies (fluent-bit-bin flb-static -conf)
510510 endif ()
511511
512+ # in_ebpf
513+ if (FLB_IN_EBPF)
514+ add_dependencies (fluent-bit-bin flb-ebpf-generate_skeletons)
515+ endif ()
516+
512517 if (FLB_REGEX)
513518 target_link_libraries (fluent-bit-bin onigmo-static )
514519 endif ()
You can’t perform that action at this time.
0 commit comments