1# SPDX-License-Identifier: LGPL-2.1-or-later
2
3if conf.get('BPF_FRAMEWORK') != 1
4        subdir_done()
5endif
6
7socket_bind_bpf_o_unstripped = custom_target(
8        'socket-bind.bpf.unstripped.o',
9        input : 'socket-bind.bpf.c',
10        output : 'socket-bind.bpf.unstripped.o',
11        command : bpf_o_unstripped_cmd)
12
13socket_bind_bpf_o = custom_target(
14        'socket-bind.bpf.o',
15        input : socket_bind_bpf_o_unstripped,
16        output : 'socket-bind.bpf.o',
17        command : bpf_o_cmd)
18
19socket_bind_skel_h = custom_target(
20        'socket-bind.skel.h',
21        input : socket_bind_bpf_o,
22        output : 'socket-bind.skel.h',
23        command : skel_h_cmd,
24        capture : true)
25