| # SPDX-License-Identifier: LGPL-2.1-or-later |
| |
| if conf.get('BPF_FRAMEWORK') != 1 |
| subdir_done() |
| endif |
| |
| socket_bind_bpf_o_unstripped = custom_target( |
| 'socket-bind.bpf.unstripped.o', |
| input : 'socket-bind.bpf.c', |
| output : 'socket-bind.bpf.unstripped.o', |
| command : bpf_o_unstripped_cmd) |
| |
| socket_bind_bpf_o = custom_target( |
| 'socket-bind.bpf.o', |
| input : socket_bind_bpf_o_unstripped, |
| output : 'socket-bind.bpf.o', |
| command : bpf_o_cmd) |
| |
| socket_bind_skel_h = custom_target( |
| 'socket-bind.skel.h', |
| input : socket_bind_bpf_o, |
| output : 'socket-bind.skel.h', |
| command : skel_h_cmd, |
| capture : true) |