diff options
author | Konstantin Belousov <kib@FreeBSD.org> | 2020-03-20 21:06:58 +0000 |
---|---|---|
committer | Konstantin Belousov <kib@FreeBSD.org> | 2020-03-20 21:06:58 +0000 |
commit | 15fe2513996eaa8857fcf66a632814b5f9374b03 (patch) | |
tree | 4f4095aa8c678b762399eae8e4e011ae0082edc3 /sys/modules/mlx5fpga_tools | |
parent | 99258935eb2bbb0c8b0ec77c632d7f90a4f6642c (diff) | |
download | src-15fe2513996eaa8857fcf66a632814b5f9374b03.tar.gz src-15fe2513996eaa8857fcf66a632814b5f9374b03.zip |
Introduce LINUXKPI_GENSRCS.
Centralize the list of generated files required by linuxkpi consumers,
into the common variable. This way, consumers that use the variable
are insulated from possible changes in the list.
Reviewed by: hselasky, imp
Sponsored by: Mellanox Technologies
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D24137
Notes
Notes:
svn path=/head/; revision=359185
Diffstat (limited to 'sys/modules/mlx5fpga_tools')
-rw-r--r-- | sys/modules/mlx5fpga_tools/Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/modules/mlx5fpga_tools/Makefile b/sys/modules/mlx5fpga_tools/Makefile index 76c3fbc173e0..23ae912589e2 100644 --- a/sys/modules/mlx5fpga_tools/Makefile +++ b/sys/modules/mlx5fpga_tools/Makefile @@ -6,9 +6,8 @@ SRCS= \ mlx5fpga_tools_main.c \ mlx5fpga_tools_char.c -SRCS+= \ - device_if.h bus_if.h vnode_if.h pci_if.h pci_iov_if.h \ - opt_inet.h opt_inet6.h opt_rss.h opt_ratelimit.h +SRCS+= ${LINUXKPI_GENSRCS} +SRCS+= opt_inet.h opt_inet6.h opt_rss.h opt_ratelimit.h CFLAGS+= -I${SRCTOP}/sys/ofed/include CFLAGS+= -I${SRCTOP}/sys/compat/linuxkpi/common/include |