mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2026-01-04 22:54:56 +01:00
We get a significant number of conflicts between net and net-next because of selftests Makefile changes. People tend to append new test cases at the end of the Makefile when there's no clear sort order. Sort all networking selftests Makefiles, use the following format: VAR_NAME := \ entry1 \ entry2 \ entry3 \ # end of VAR_NAME Some Makefiles are already pretty close to this. Acked-by: Antonio Quartulli <antonio@openvpn.net> Acked-by: Matthieu Baerts (NGI0) <matttbe@kernel.org> Acked-by: Allison Henderson <allison.henderson@oracle.com> Reviewed-by: Petr Machata <petrm@nvidia.com> Link: https://patch.msgid.link/20251003210127.1021918-1-kuba@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
24 lines
506 B
Makefile
24 lines
506 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
CFLAGS += -Wall -Wl,--no-as-needed -O2 -g
|
|
CFLAGS += -I../../../../../usr/include/ $(KHDR_INCLUDES)
|
|
# Additional include paths needed by kselftest.h
|
|
CFLAGS += -I../../
|
|
|
|
TEST_FILES := \
|
|
../../../../net/ynl \
|
|
../../../../../Documentation/netlink/specs \
|
|
# end of TEST_FILES
|
|
|
|
TEST_GEN_FILES := \
|
|
$(patsubst %.c,%.o,$(wildcard *.bpf.c)) \
|
|
csum \
|
|
xdp_helper \
|
|
# end of TEST_GEN_FILES
|
|
|
|
TEST_INCLUDES := $(wildcard py/*.py sh/*.sh)
|
|
|
|
include ../../lib.mk
|
|
|
|
include ../bpf.mk
|