Skip to content

Commit

Permalink
Clean up COMMON_DIR paths to remove trailing /
Browse files Browse the repository at this point in the history
Signed-off-by: Donald Hunter <donald.hunter@gmail.com>
  • Loading branch information
donaldh committed Mar 3, 2023
1 parent 0ded568 commit 7c8f43e
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion advanced03-AF_XDP/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ XDP_TARGETS := af_xdp_kern
USER_TARGETS := af_xdp_user
LDLIBS+= -lpthread

COMMON_DIR = ../common/
COMMON_DIR = ../common

include $(COMMON_DIR)/common.mk
COMMON_OBJS := $(COMMON_DIR)/common_params.o
Expand Down
2 changes: 1 addition & 1 deletion basic-solutions/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

USER_TARGETS := xdp_stats xdp_loader

COMMON_DIR = ../common/
COMMON_DIR = ../common

# Extend with another COMMON_OBJS
COMMON_OBJS += $(COMMON_DIR)/common_user_bpf_xdp.o
Expand Down
2 changes: 1 addition & 1 deletion basic01-xdp-pass/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ LLC ?= llc
CLANG ?= clang
CC := gcc

COMMON_DIR = ../common/
COMMON_DIR = ../common

include $(COMMON_DIR)/common.mk
2 changes: 1 addition & 1 deletion basic02-prog-by-name/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
XDP_TARGETS := xdp_prog_kern
USER_TARGETS := xdp_loader

COMMON_DIR = ../common/
COMMON_DIR = ../common

include $(COMMON_DIR)/common.mk

2 changes: 1 addition & 1 deletion common/common.mk
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
#
# This file should be included from your Makefile like:
# COMMON_DIR = ../common/
# COMMON_DIR = ../common
# include $(COMMON_DIR)/common.mk
#
# It is expected that you define the variables:
Expand Down
2 changes: 1 addition & 1 deletion tracing01-xdp-simple/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
XDP_TARGETS := trace_prog_kern xdp_prog_kern
USER_TARGETS := trace_load_and_stats

COMMON_DIR = ../common/
COMMON_DIR = ../common

include $(COMMON_DIR)/common.mk

2 changes: 1 addition & 1 deletion tracing02-xdp-monitor/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
XDP_TARGETS := trace_prog_kern
USER_TARGETS := trace_load_and_stats

COMMON_DIR = ../common/
COMMON_DIR = ../common

# Extend with another COMMON_OBJS
COMMON_OBJS += $(COMMON_DIR)/common_user_bpf_xdp.o
Expand Down
2 changes: 1 addition & 1 deletion tracing03-xdp-debug-print/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ LLC ?= llc
CLANG ?= clang
CC := gcc

COMMON_DIR = ../common/
COMMON_DIR = ../common

include $(COMMON_DIR)/common.mk
COMMON_OBJS := $(COMMON_DIR)/common_params.o
2 changes: 1 addition & 1 deletion tracing04-xdp-tcpdump/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ XDP_TARGETS := xdp_sample_pkts_kern
USER_TARGETS := xdp_sample_pkts_user
LDLIBS+=-lpcap

COMMON_DIR = ../common/
COMMON_DIR = ../common

include $(COMMON_DIR)/common.mk
COMMON_OBJS := $(COMMON_DIR)/common_params.o

0 comments on commit 7c8f43e

Please sign in to comment.