Remove unused variables inside of Makefile.

This commit is contained in:
Christian Deacon
2025-02-22 12:22:21 -05:00
parent 422d23e87b
commit 2a1dbc6626

View File

@@ -27,7 +27,7 @@ LIBBPF_DIR = $(XDP_TOOLS_DIR)/lib/libbpf
LIBBPF_SRC = $(LIBBPF_DIR)/src LIBBPF_SRC = $(LIBBPF_DIR)/src
# LibBPF objects. # LibBPF objects.
LIBBPF_OBJS := $(addprefix $(LIBBPF_SRC)/staticobjs/, $(notdir $(wildcard $(LIBBPF_SRC)/staticobjs/*.o))) LIBBPF_OBJS = $(addprefix $(LIBBPF_SRC)/staticobjs/, $(notdir $(wildcard $(LIBBPF_SRC)/staticobjs/*.o)))
# LibXDP objects. # LibXDP objects.
# To Do: Figure out why static objects produces errors relating to unreferenced functions with dispatcher. # To Do: Figure out why static objects produces errors relating to unreferenced functions with dispatcher.
@@ -61,15 +61,6 @@ endif
XDP_SRC = prog.c XDP_SRC = prog.c
XDP_OBJ = xdp_prog.o XDP_OBJ = xdp_prog.o
XDP_UTILS_DIR = $(XDP_DIR)/utils
# XDP utils.
XDP_UTILS_HELPERS_SRC = helpers.c
XDP_UTILS_HELPERS_OBJ = helpers.o
XDP_UTILS_RL_SRC = rl.c
XDP_UTILS_RL_OBJ = rl.o
# Includes. # Includes.
INCS = -I $(SRC_DIR) -I $(LIBBPF_SRC) -I /usr/include -I /usr/local/include INCS = -I $(SRC_DIR) -I $(LIBBPF_SRC) -I /usr/include -I /usr/local/include