diff options
Diffstat (limited to 'drivers/net/wireless/sd8897/Makefile')
-rw-r--r-- | drivers/net/wireless/sd8897/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/net/wireless/sd8897/Makefile b/drivers/net/wireless/sd8897/Makefile index f01846768d1b..e64af7bd7edf 100644 --- a/drivers/net/wireless/sd8897/Makefile +++ b/drivers/net/wireless/sd8897/Makefile @@ -238,11 +238,14 @@ MOALOBJS += mlinux/moal_proc.o MOALOBJS += mlinux/moal_debug.o endif -obj-m := sd8897mlan.o +obj-$(CONFIG_SD8897) := sd8897mlan.o sd8897mlan-objs := $(MLANOBJS) MOALOBJS += mlinux/moal_sdio_mmc.o -obj-m += sd8897.o +obj-$(CONFIG_SD8897) += sd8897.o sd8897-objs := $(MOALOBJS) +ifeq ($(CONFIG_SD8897),m) + EXTRA_LDFLAGS += --strip-debug +endif ############################################################### # End of file |