1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-30 12:04:07 +00:00
freebsd/sys/dev/sfxge
Andrew Rybchenko c378187825 sfxge: do not use DEBUG_FLAGS to enable extra debug checks
DEBUG_FLAGS are set to DEBUG option value when kernel is built.
For example, it is -g in GENERIC config to have debug symbols.
Also DEBUG_FLAGS are used to determine if ctfconvert should keep
debug symbols.
Since we redefined DEBUG_FLAGS, debug symbols were always missing.
ctfconvert complains about it during kernel build.
It is incorrect to append DEBUG_FLAGS, since if DEBUG has no -g (or
similar), we'll have no debug symbols and ctfconvert will complain.
If it incorrect to always have -g in our DEBUG_FLAGS, since debug
symbols presence should be controllable by kernel config.
So, just add disabled by default addition of -DDEBUG=1 to CFLAGS.

Reviewed by:    imp
Sponsored by:   Solarflare Communications, Inc.
MFC after:      2 days
Differential Revision: https://reviews.freebsd.org/D2666
2015-05-29 05:44:56 +00:00
..
common sfxge: add 7xxx NICs family support 2015-05-25 08:34:55 +00:00
sfxge_dma.c sfxge: add 7xxx NICs family support 2015-05-25 08:34:55 +00:00
sfxge_ev.c sfxge: add 7xxx NICs family support 2015-05-25 08:34:55 +00:00
sfxge_intr.c sfxge: add 7xxx NICs family support 2015-05-25 08:34:55 +00:00
sfxge_ioc.h sfxge: add 7xxx NICs family support 2015-05-25 08:34:55 +00:00
sfxge_mcdi.c sfxge: add 7xxx NICs family support 2015-05-25 08:34:55 +00:00
sfxge_nvram.c sfxge: add 7xxx NICs family support 2015-05-25 08:34:55 +00:00
sfxge_port.c sfxge: mask ifmedia options (pauses) when looking for matching mode 2015-05-27 08:57:48 +00:00
sfxge_rx.c sfxge: add 7xxx NICs family support 2015-05-25 08:34:55 +00:00
sfxge_rx.h sfxge: add 7xxx NICs family support 2015-05-25 08:34:55 +00:00
sfxge_tx.c sfxge: add 7xxx NICs family support 2015-05-25 08:34:55 +00:00
sfxge_tx.h sfxge: add 7xxx NICs family support 2015-05-25 08:34:55 +00:00
sfxge_version.h sfxge: do not use DEBUG_FLAGS to enable extra debug checks 2015-05-29 05:44:56 +00:00
sfxge.c sfxge: add 7xxx NICs family support 2015-05-25 08:34:55 +00:00
sfxge.h sfxge: add 7xxx NICs family support 2015-05-25 08:34:55 +00:00