From: Dmitry Shmidt Date: Thu, 4 Aug 2011 17:07:19 +0000 (-0700) Subject: net: wireless: bcmdhd: Keep debug symbols for built-in driver X-Git-Tag: firefly_0821_release~7613^2~373 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=620f24166357a60c49c7b1b9c59f62bc40dc9816;p=firefly-linux-kernel-4.4.55.git net: wireless: bcmdhd: Keep debug symbols for built-in driver Signed-off-by: Dmitry Shmidt --- diff --git a/drivers/net/wireless/bcmdhd/Makefile b/drivers/net/wireless/bcmdhd/Makefile index 9984363f11dc..56500b7220c6 100644 --- a/drivers/net/wireless/bcmdhd/Makefile +++ b/drivers/net/wireless/bcmdhd/Makefile @@ -26,4 +26,6 @@ bcmdhd-objs += wl_cfg80211.o wl_cfgp2p.o dhd_linux_mon.o DHDCFLAGS += -DWL_CFG80211 endif EXTRA_CFLAGS = $(DHDCFLAGS) +ifeq ($(CONFIG_BCMDHD),m) EXTRA_LDFLAGS += --strip-debug +endif