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/conf/kmod.mk | |
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/conf/kmod.mk')
-rw-r--r-- | sys/conf/kmod.mk | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sys/conf/kmod.mk b/sys/conf/kmod.mk index ecf9f6b5fa22..55c8344e7da1 100644 --- a/sys/conf/kmod.mk +++ b/sys/conf/kmod.mk @@ -94,6 +94,16 @@ WERROR?= -Wno-error WERROR?= -Werror .endif +LINUXKPI_GENSRCS+= \ + bus_if.h \ + device_if.h \ + pci_if.h \ + pci_iov_if.h \ + vnode_if.h \ + usb_if.h \ + opt_usb.h \ + opt_stack.h + CFLAGS+= ${WERROR} CFLAGS+= -D_KERNEL CFLAGS+= -DKLD_MODULE |