diff options
author | Yuntao Wang <ytcoode@gmail.com> | 2022-03-05 19:10:13 +0300 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2022-03-08 09:19:32 +0300 |
commit | 4989135a85334337ac8b7e42e7ee1a569ad5f7f5 (patch) | |
tree | b84f88c9d9c867c8bbae821b780ba30f758c2be3 /kernel | |
parent | 04b6de649e124f2ea9693a25a744e646c1203ff9 (diff) | |
download | linux-4989135a85334337ac8b7e42e7ee1a569ad5f7f5.tar.xz |
bpf: Remove redundant slash
The trailing slash of LIBBPF_SRCS is redundant, remove it. Also inline
it as its only used in LIBBPF_INCLUDE.
Signed-off-by: Yuntao Wang <ytcoode@gmail.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20220305161013.361646-1-ytcoode@gmail.com
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/bpf/preload/Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/kernel/bpf/preload/Makefile b/kernel/bpf/preload/Makefile index 167534e3b0b4..20f89cc0a0a6 100644 --- a/kernel/bpf/preload/Makefile +++ b/kernel/bpf/preload/Makefile @@ -1,8 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 -LIBBPF_SRCS = $(srctree)/tools/lib/bpf/ -LIBBPF_INCLUDE = $(LIBBPF_SRCS)/.. +LIBBPF_INCLUDE = $(srctree)/tools/lib obj-$(CONFIG_BPF_PRELOAD_UMD) += bpf_preload.o -CFLAGS_bpf_preload_kern.o += -I $(LIBBPF_INCLUDE) +CFLAGS_bpf_preload_kern.o += -I$(LIBBPF_INCLUDE) bpf_preload-objs += bpf_preload_kern.o |