xref: /linux/tools/testing/selftests/drivers/net/hw/Makefile (revision 18a7e218cfcdca6666e1f7356533e4c988780b57)
1# SPDX-License-Identifier: GPL-2.0+ OR MIT
2
3TEST_GEN_FILES = iou-zcrx
4
5TEST_PROGS = \
6	csum.py \
7	devlink_port_split.py \
8	devmem.py \
9	ethtool.sh \
10	ethtool_extended_state.sh \
11	ethtool_mm.sh \
12	ethtool_rmon.sh \
13	hw_stats_l3.sh \
14	hw_stats_l3_gre.sh \
15	iou-zcrx.py \
16	irq.py \
17	loopback.sh \
18	nic_timestamp.py \
19	pp_alloc_fail.py \
20	rss_api.py \
21	rss_ctx.py \
22	rss_flow_label.py \
23	rss_input_xfrm.py \
24	tso.py \
25	xsk_reconfig.py \
26	#
27
28TEST_FILES := \
29	ethtool_lib.sh \
30	#
31
32TEST_INCLUDES := \
33	$(wildcard lib/py/*.py ../lib/py/*.py) \
34	../../../net/lib.sh \
35	../../../net/forwarding/ipip_lib.sh \
36	../../../net/forwarding/lib.sh \
37	../../../net/forwarding/tc_common.sh \
38	#
39
40# YNL files, must be before "include ..lib.mk"
41YNL_GEN_FILES := ncdevmem
42TEST_GEN_FILES += $(YNL_GEN_FILES)
43TEST_GEN_FILES += $(patsubst %.c,%.o,$(wildcard *.bpf.c))
44
45include ../../../lib.mk
46
47# YNL build
48YNL_GENS := \
49	ethtool \
50	netdev \
51# end of YNL_GENS
52
53include ../../../net/ynl.mk
54
55include ../../../net/bpf.mk
56
57$(OUTPUT)/iou-zcrx: LDLIBS += -luring
58