blob: d5c94f00a43c8863268e77d71cddeef8f3853f6e [file] [log] [blame]
Neelansh Mittale6c1e862014-07-04 20:04:43 +05301default: all
2
3KBUILD_OPTIONS := WLAN_ROOT=$(PWD)
4KBUILD_OPTIONS += MODNAME=wlan
5
6all::
7 $(MAKE) -C $(KERNEL_SOURCE) $(KBUILD_OPTIONS) $(EXTRA_CFLAGS) ARCH=$(ARCH) \
8 SUBDIRS=$(CURDIR) CC=${CC} modules
9
Neelansh Mittaladb9a6b2014-07-18 16:07:48 +053010modules_install:
11 $(MAKE) INSTALL_MOD_STRIP=1 -C $(KERNEL_SRC) M=$(shell pwd) modules_install
12
Neelansh Mittale6c1e862014-07-04 20:04:43 +053013clean::
14 rm -f *.o *.ko *.mod.c *.mod.o *~ .*.cmd Module.symvers
15 rm -rf .tmp_versions
16
17