diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/conf/kmod.mk | 2 | ||||
-rw-r--r-- | sys/modules/aha/Makefile | 1 | ||||
-rw-r--r-- | sys/modules/amr/Makefile | 1 | ||||
-rw-r--r-- | sys/modules/an/Makefile | 1 | ||||
-rw-r--r-- | sys/modules/aue/Makefile | 1 | ||||
-rw-r--r-- | sys/modules/cue/Makefile | 1 | ||||
-rw-r--r-- | sys/modules/dc/Makefile | 1 | ||||
-rw-r--r-- | sys/modules/fxp/Makefile | 1 | ||||
-rw-r--r-- | sys/modules/kue/Makefile | 1 | ||||
-rw-r--r-- | sys/modules/mii/Makefile | 1 | ||||
-rw-r--r-- | sys/modules/mlx/Makefile | 1 | ||||
-rw-r--r-- | sys/modules/rl/Makefile | 2 | ||||
-rw-r--r-- | sys/modules/sf/Makefile | 2 | ||||
-rw-r--r-- | sys/modules/sis/Makefile | 1 | ||||
-rw-r--r-- | sys/modules/sk/Makefile | 1 | ||||
-rw-r--r-- | sys/modules/ste/Makefile | 1 | ||||
-rw-r--r-- | sys/modules/ti/Makefile | 1 | ||||
-rw-r--r-- | sys/modules/tl/Makefile | 1 | ||||
-rw-r--r-- | sys/modules/usb/Makefile | 1 | ||||
-rw-r--r-- | sys/modules/vpo/Makefile | 1 | ||||
-rw-r--r-- | sys/modules/vr/Makefile | 2 | ||||
-rw-r--r-- | sys/modules/wb/Makefile | 1 | ||||
-rw-r--r-- | sys/modules/wi/Makefile | 1 | ||||
-rw-r--r-- | sys/modules/xl/Makefile | 1 |
24 files changed, 2 insertions, 26 deletions
diff --git a/sys/conf/kmod.mk b/sys/conf/kmod.mk index 3e69f27..aa6e97b 100644 --- a/sys/conf/kmod.mk +++ b/sys/conf/kmod.mk @@ -118,6 +118,8 @@ CFLAGS+= -I${DESTDIR}/usr/include CFLAGS+= -I@/../include -I${DESTDIR}/usr/include .endif # @ +CFLAGS+= ${DEBUG_FLAGS} + .if ${OBJFORMAT} == elf CLEANFILES+= setdef0.c setdef1.c setdefs.h CLEANFILES+= setdef0.o setdef1.o diff --git a/sys/modules/aha/Makefile b/sys/modules/aha/Makefile index 295124f6..a133522 100644 --- a/sys/modules/aha/Makefile +++ b/sys/modules/aha/Makefile @@ -5,7 +5,6 @@ KMOD = aha SRCS = aha.c aha_isa.c ahareg.h opt_cam.h device_if.h bus_if.h aha.h \ opt_scsi.h isa_if.h CLEANFILES = aha.h -CFLAGS += ${DEBUG_FLAGS} aha.h: echo "#define NAHA 1" > aha.h diff --git a/sys/modules/amr/Makefile b/sys/modules/amr/Makefile index e81049d..5833574 100644 --- a/sys/modules/amr/Makefile +++ b/sys/modules/amr/Makefile @@ -3,6 +3,5 @@ .PATH: ${.CURDIR}/../../dev/amr KMOD = amr SRCS = amr.c amr_pci.c amr_disk.c device_if.h bus_if.h pci_if.h -CFLAGS += ${DEBUG_FLAGS} .include <bsd.kmod.mk> diff --git a/sys/modules/an/Makefile b/sys/modules/an/Makefile index ac5fd2a..7c18f5d 100644 --- a/sys/modules/an/Makefile +++ b/sys/modules/an/Makefile @@ -4,7 +4,6 @@ KMOD = if_an SRCS = if_an.c if_an_pccard.c if_an_pci.c if_an_isa.c SRCS += opt_inet.h device_if.h bus_if.h pci_if.h isa_if.h -CFLAGS += ${DEBUG_FLAGS} opt_inet.h: echo "#define INET 1" > opt_inet.h diff --git a/sys/modules/aue/Makefile b/sys/modules/aue/Makefile index f478794..664b16c 100644 --- a/sys/modules/aue/Makefile +++ b/sys/modules/aue/Makefile @@ -5,7 +5,6 @@ S = ${.CURDIR}/../.. KMOD = if_aue SRCS = if_aue.c opt_bdg.h opt_usb.h device_if.h bus_if.h SRCS += miibus_if.h -CFLAGS += ${DEBUG_FLAGS} KMODDEPS = miibus .include <bsd.kmod.mk> diff --git a/sys/modules/cue/Makefile b/sys/modules/cue/Makefile index fc50723..449cce2 100644 --- a/sys/modules/cue/Makefile +++ b/sys/modules/cue/Makefile @@ -5,6 +5,5 @@ S = ${.CURDIR}/../.. KMOD = if_cue SRCS = if_cue.c opt_bdg.h opt_usb.h device_if.h bus_if.h SRCS += miibus_if.h -CFLAGS += ${DEBUG_FLAGS} .include <bsd.kmod.mk> diff --git a/sys/modules/dc/Makefile b/sys/modules/dc/Makefile index 2f87272..8bcadaa 100644 --- a/sys/modules/dc/Makefile +++ b/sys/modules/dc/Makefile @@ -4,7 +4,6 @@ KMOD = if_dc SRCS = if_dc.c opt_bdg.h device_if.h bus_if.h pci_if.h SRCS += miibus_if.h -CFLAGS += ${DEBUG_FLAGS} KMODDEPS = miibus .include <bsd.kmod.mk> diff --git a/sys/modules/fxp/Makefile b/sys/modules/fxp/Makefile index 9285bb2..e59179d 100644 --- a/sys/modules/fxp/Makefile +++ b/sys/modules/fxp/Makefile @@ -3,6 +3,5 @@ .PATH: ${.CURDIR}/../../pci KMOD = if_fxp SRCS = if_fxp.c opt_bdg.h device_if.h bus_if.h pci_if.h -CFLAGS += ${DEBUG_FLAGS} .include <bsd.kmod.mk> diff --git a/sys/modules/kue/Makefile b/sys/modules/kue/Makefile index ad427f1..573a431 100644 --- a/sys/modules/kue/Makefile +++ b/sys/modules/kue/Makefile @@ -5,6 +5,5 @@ S = ${.CURDIR}/../.. KMOD = if_kue SRCS = if_kue.c opt_bdg.h opt_usb.h device_if.h bus_if.h SRCS += miibus_if.h -CFLAGS += ${DEBUG_FLAGS} .include <bsd.kmod.mk> diff --git a/sys/modules/mii/Makefile b/sys/modules/mii/Makefile index 9d277b5..b35455f7 100644 --- a/sys/modules/mii/Makefile +++ b/sys/modules/mii/Makefile @@ -5,6 +5,5 @@ KMOD = miibus SRCS = mii.c mii_physubr.c ukphy.c ukphy_subr.c bus_if.h pci_if.h SRCS += miibus_if.h device_if.h miibus_if.c exphy.c nsphy.c SRCS += mlphy.c tlphy.c rlphy.c amphy.c dcphy.c pnphy.c -CFLAGS += ${DEBUG_FLAGS} .include <bsd.kmod.mk> diff --git a/sys/modules/mlx/Makefile b/sys/modules/mlx/Makefile index 274d857..aaae0f6 100644 --- a/sys/modules/mlx/Makefile +++ b/sys/modules/mlx/Makefile @@ -3,6 +3,5 @@ .PATH: ${.CURDIR}/../../dev/mlx KMOD = mlx SRCS = mlx.c mlx_pci.c mlx_disk.c device_if.h bus_if.h pci_if.h -CFLAGS += ${DEBUG_FLAGS} .include <bsd.kmod.mk> diff --git a/sys/modules/rl/Makefile b/sys/modules/rl/Makefile index 03bd395..8700ad8 100644 --- a/sys/modules/rl/Makefile +++ b/sys/modules/rl/Makefile @@ -6,6 +6,4 @@ SRCS = if_rl.c opt_bdg.h device_if.h bus_if.h pci_if.h SRCS += miibus_if.h KMODDEPS = miibus -CFLAGS += ${DEBUG_FLAGS} - .include <bsd.kmod.mk> diff --git a/sys/modules/sf/Makefile b/sys/modules/sf/Makefile index 1601e16..88b5940 100644 --- a/sys/modules/sf/Makefile +++ b/sys/modules/sf/Makefile @@ -6,6 +6,4 @@ SRCS = if_sf.c opt_bdg.h device_if.h bus_if.h pci_if.h SRCS += miibus_if.h KMODDEPS = miibus -CFLAGS += ${DEBUG_FLAGS} - .include <bsd.kmod.mk> diff --git a/sys/modules/sis/Makefile b/sys/modules/sis/Makefile index a0e29ad..de63c38 100644 --- a/sys/modules/sis/Makefile +++ b/sys/modules/sis/Makefile @@ -4,7 +4,6 @@ KMOD = if_sis SRCS = if_sis.c opt_bdg.h device_if.h bus_if.h pci_if.h SRCS += miibus_if.h -CFLAGS += ${DEBUG_FLAGS} KMODDEPS = miibus .include <bsd.kmod.mk> diff --git a/sys/modules/sk/Makefile b/sys/modules/sk/Makefile index 3111b34..c12e236 100644 --- a/sys/modules/sk/Makefile +++ b/sys/modules/sk/Makefile @@ -3,6 +3,5 @@ .PATH: ${.CURDIR}/../../pci KMOD = if_sk SRCS = if_sk.c opt_bdg.h device_if.h bus_if.h pci_if.h -CFLAGS += ${DEBUG_FLAGS} .include <bsd.kmod.mk> diff --git a/sys/modules/ste/Makefile b/sys/modules/ste/Makefile index 44d5b94..85459de 100644 --- a/sys/modules/ste/Makefile +++ b/sys/modules/ste/Makefile @@ -4,7 +4,6 @@ KMOD = if_ste SRCS = if_ste.c opt_bdg.h device_if.h bus_if.h pci_if.h SRCS += miibus_if.h -CFLAGS += ${DEBUG_FLAGS} KMODDEPS = miibus .include <bsd.kmod.mk> diff --git a/sys/modules/ti/Makefile b/sys/modules/ti/Makefile index b91ae2a..701e914 100644 --- a/sys/modules/ti/Makefile +++ b/sys/modules/ti/Makefile @@ -4,7 +4,6 @@ KMOD = if_ti SRCS = if_ti.c opt_bdg.h vlan.h device_if.h bus_if.h pci_if.h CLEANFILES = vlan.h -CFLAGS += ${DEBUG_FLAGS} vlan.h: touch vlan.h diff --git a/sys/modules/tl/Makefile b/sys/modules/tl/Makefile index 810ed6f..6e11706 100644 --- a/sys/modules/tl/Makefile +++ b/sys/modules/tl/Makefile @@ -4,7 +4,6 @@ KMOD = if_tl SRCS = if_tl.c opt_bdg.h device_if.h bus_if.h pci_if.h SRCS += miibus_if.h -CFLAGS += ${DEBUG_FLAGS} KMODDEPS = miibus .include <bsd.kmod.mk> diff --git a/sys/modules/usb/Makefile b/sys/modules/usb/Makefile index b4ba355..6dad16d 100644 --- a/sys/modules/usb/Makefile +++ b/sys/modules/usb/Makefile @@ -25,6 +25,5 @@ SRCS += ohci_pci.c ohci.c ohcireg.h ohcivar.h SRCS += opt_bus.h pci_if.h NOMAN = -CFLAGS += ${DEBUG_FLAGS} .include <bsd.kmod.mk> diff --git a/sys/modules/vpo/Makefile b/sys/modules/vpo/Makefile index 8c29762..3934e03 100644 --- a/sys/modules/vpo/Makefile +++ b/sys/modules/vpo/Makefile @@ -6,6 +6,5 @@ SRCS= bus_if.h device_if.h ppbus_if.h \ opt_cam.h opt_scsi.h opt_vpo.h \ immio.c vpo.c vpoio.c NOMAN= -CFLAGS+= ${DEBUG_FLAGS} .include <bsd.kmod.mk> diff --git a/sys/modules/vr/Makefile b/sys/modules/vr/Makefile index 4f8fc51..55f8298 100644 --- a/sys/modules/vr/Makefile +++ b/sys/modules/vr/Makefile @@ -6,6 +6,4 @@ SRCS = if_vr.c opt_bdg.h device_if.h bus_if.h pci_if.h SRCS += miibus_if.h KMODDEPS = miibus -CFLAGS += ${DEBUG_FLAGS} - .include <bsd.kmod.mk> diff --git a/sys/modules/wb/Makefile b/sys/modules/wb/Makefile index 5428835..b2a8ced 100644 --- a/sys/modules/wb/Makefile +++ b/sys/modules/wb/Makefile @@ -4,7 +4,6 @@ KMOD = if_wb SRCS = if_wb.c opt_bdg.h device_if.h SRCS += bus_if.h miibus_if.h pci_if.h -CFLAGS += ${DEBUG_FLAGS} KMODDEPS = miibus .include <bsd.kmod.mk> diff --git a/sys/modules/wi/Makefile b/sys/modules/wi/Makefile index adfd2f4..75a7770 100644 --- a/sys/modules/wi/Makefile +++ b/sys/modules/wi/Makefile @@ -3,6 +3,5 @@ .PATH: ${.CURDIR}/../../i386/isa KMOD = if_wi SRCS = if_wi.c device_if.h bus_if.h -CFLAGS += ${DEBUG_FLAGS} .include <bsd.kmod.mk> diff --git a/sys/modules/xl/Makefile b/sys/modules/xl/Makefile index 4b7141c..82931cf 100644 --- a/sys/modules/xl/Makefile +++ b/sys/modules/xl/Makefile @@ -4,7 +4,6 @@ KMOD = if_xl SRCS = if_xl.c opt_bdg.h device_if.h bus_if.h pci_if.h SRCS += miibus_if.h -CFLAGS += ${DEBUG_FLAGS} KMODDEPS = miibus .include <bsd.kmod.mk> |