qcacld-2.0 to qcacld-3.0 propagation If module name is provided externally, override the default module name. Change-Id: I985f230de601830d8f8c35f1600a09c4ccede88f CRs-Fixed: 999402
21 lines
570 B
Makefile
21 lines
570 B
Makefile
KERNEL_SRC ?= /lib/modules/$(shell uname -r)/build
|
|
|
|
KBUILD_OPTIONS := WLAN_ROOT=$(PWD)
|
|
KBUILD_OPTIONS += MODNAME?=wlan
|
|
|
|
#By default build for CLD
|
|
WLAN_SELECT := CONFIG_QCA_CLD_WLAN=m
|
|
KBUILD_OPTIONS += CONFIG_QCA_WIFI_ISOC=0
|
|
KBUILD_OPTIONS += CONFIG_QCA_WIFI_2_0=1
|
|
KBUILD_OPTIONS += $(WLAN_SELECT)
|
|
KBUILD_OPTIONS += $(KBUILD_EXTRA) # Extra config if any
|
|
|
|
all:
|
|
$(MAKE) -C $(KERNEL_SRC) M=$(shell pwd) modules $(KBUILD_OPTIONS)
|
|
|
|
modules_install:
|
|
$(MAKE) INSTALL_MOD_STRIP=1 -C $(KERNEL_SRC) M=$(shell pwd) modules_install
|
|
|
|
clean:
|
|
$(MAKE) -C $(KERNEL_SRC) M=$(PWD) clean
|