Dike out WARNS from kernel module makefiles. Kernels and modules
use a different mechanism for setting warning flags, and using WARNS here only has null or negative effects. Submitted by: bde (I think it means "submitted")
This commit is contained in:
parent
77dfeead45
commit
ad3cf350d3
@ -7,7 +7,6 @@
|
||||
${.CURDIR}/../../../${MACHINE_ARCH}/acpica
|
||||
|
||||
KMOD= acpi
|
||||
WARNS?= 2
|
||||
|
||||
# ACPI CA sources
|
||||
CFLAGS+= -I${.CURDIR}/../../../contrib/dev/acpica
|
||||
|
@ -3,7 +3,6 @@
|
||||
.PATH: ${.CURDIR}/../../../dev/acpi_support
|
||||
|
||||
KMOD= acpi_asus
|
||||
WARNS?= 2
|
||||
CFLAGS+= -I${.CURDIR}/../../../contrib/dev/acpica
|
||||
SRCS= acpi_asus.c opt_acpi.h acpi_if.h bus_if.h device_if.h
|
||||
SRCS+= opt_ddb.h
|
||||
|
@ -3,7 +3,6 @@
|
||||
.PATH: ${.CURDIR}/../../../dev/acpi_support
|
||||
|
||||
KMOD= acpi_panasonic
|
||||
WARNS?= 2
|
||||
CFLAGS+= -I${.CURDIR}/../../../contrib/dev/acpica
|
||||
SRCS= acpi_panasonic.c opt_acpi.h acpi_if.h bus_if.h device_if.h
|
||||
|
||||
|
@ -3,7 +3,6 @@
|
||||
.PATH: ${.CURDIR}/../../../dev/acpi_support
|
||||
|
||||
KMOD= acpi_toshiba
|
||||
WARNS?= 2
|
||||
CFLAGS+= -I${.CURDIR}/../../../contrib/dev/acpica
|
||||
SRCS= acpi_toshiba.c opt_acpi.h acpi_if.h bus_if.h device_if.h
|
||||
|
||||
|
@ -3,7 +3,6 @@
|
||||
.PATH: ${.CURDIR}/../../../dev/acpica
|
||||
|
||||
KMOD= acpi_video
|
||||
WARNS?= 2
|
||||
CFLAGS+= -I@/contrib/dev/acpica
|
||||
SRCS= acpi_video.c
|
||||
SRCS+= opt_acpi.h acpi_if.h bus_if.h device_if.h
|
||||
|
@ -4,7 +4,6 @@
|
||||
${.CURDIR}/../../${MACHINE_ARCH}/cpufreq
|
||||
|
||||
KMOD= cpufreq
|
||||
WARNS?= 2
|
||||
SRCS= ichss.c
|
||||
SRCS+= bus_if.h cpufreq_if.h device_if.h pci_if.h
|
||||
|
||||
|
@ -1,7 +1,6 @@
|
||||
# $FreeBSD$
|
||||
|
||||
KMOD= fdc
|
||||
WARNS?= 2
|
||||
|
||||
.if ${MACHINE} == "pc98"
|
||||
.PATH: ${.CURDIR}/../../pc98/cbus
|
||||
|
@ -4,6 +4,5 @@
|
||||
|
||||
KMOD= geom_eli
|
||||
SRCS= g_eli.c g_eli_crypto.c g_eli_ctl.c g_eli_key.c pkcs5v2.c vnode_if.h
|
||||
WARNS?= 2
|
||||
|
||||
.include <bsd.kmod.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user