Skip to content

Commit 4989135

Browse files
ytcoodeanakryiko
authored andcommitted
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 <[email protected]> Signed-off-by: Andrii Nakryiko <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
1 parent 04b6de6 commit 4989135

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

kernel/bpf/preload/Makefile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
# SPDX-License-Identifier: GPL-2.0
22

3-
LIBBPF_SRCS = $(srctree)/tools/lib/bpf/
4-
LIBBPF_INCLUDE = $(LIBBPF_SRCS)/..
3+
LIBBPF_INCLUDE = $(srctree)/tools/lib
54

65
obj-$(CONFIG_BPF_PRELOAD_UMD) += bpf_preload.o
7-
CFLAGS_bpf_preload_kern.o += -I $(LIBBPF_INCLUDE)
6+
CFLAGS_bpf_preload_kern.o += -I$(LIBBPF_INCLUDE)
87
bpf_preload-objs += bpf_preload_kern.o

0 commit comments

Comments
 (0)