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