Skip to content

Commit 83304b1

Browse files
committed
In common.mk define LIBBPF_DIR if Makefile including didn't
This was an easy solution to the worry in commit 064365f that Makefile including common.mk could forget to define LIBBPF_DIR. Signed-off-by: Jesper Dangaard Brouer <[email protected]>
1 parent 064365f commit 83304b1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

common/common.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ USER_OBJ := ${USER_C:.c=.o}
2121

2222
# Expect this is defined by including Makefile, but define if not
2323
COMMON_DIR ?= ../common/
24+
LIBBPF_DIR ?= ../libbpf/src/
2425

2526
COPY_LOADER ?=
2627
LOADER_DIR ?= $(COMMON_DIR)/../basic-solutions

0 commit comments

Comments
 (0)