bcmdhd: build into the kernel if modules are disabled

Change-Id: I44967980bf93aeeb9c663e55467c14768fec73f1
This commit is contained in:
Dan Pasanen 2014-05-09 08:29:00 -05:00
parent 08b013a158
commit b617f5225d
1 changed files with 4 additions and 0 deletions

View File

@ -135,7 +135,11 @@ DHDCFLAGS :=$(filter-out -DMULTIPLE_SUPPLICANT,$(DHDCFLAGS))
# m: module type driver
# y: built-in type driver
##########################
ifeq ($(CONFIG_MODULES),y)
DRIVER_TYPE ?= m
else
DRIVER_TYPE ?= y
endif
#########################
# Chip dependent feature