1# SPDX-License-Identifier: GPL-2.0 2 3LIBBPF_SRCS = $(srctree)/tools/lib/bpf/ 4LIBBPF_INCLUDE = $(LIBBPF_SRCS)/.. 5 6userccflags += -I $(srctree)/tools/include/ -I $(srctree)/tools/include/uapi \ 7 -I $(LIBBPF_INCLUDE) -Wno-unused-result 8 9userprogs := bpf_preload_umd 10 11bpf_preload_umd-objs := iterators/iterators.o 12 13$(obj)/bpf_preload_umd: 14 15$(obj)/bpf_preload_umd_blob.o: $(obj)/bpf_preload_umd 16 17obj-$(CONFIG_BPF_PRELOAD_UMD) += bpf_preload.o 18bpf_preload-objs += bpf_preload_kern.o bpf_preload_umd_blob.o 19