summaryrefslogtreecommitdiff
path: root/Makefile
blob: 12ff51e10ece1a6a97a918258a13a415c8a6b3dd (plain)
1
2
3
4
5
6
7
8
9
10
KERNEL_SRC ?= /lib/modules/$(shell uname -r)/build
M ?= $(shell pwd)

KBUILD_OPTIONS := CONFIG_NITROUS=m

include $(KERNEL_SRC)/../gs/google-modules/soc-modules/Makefile.include

modules modules_install clean:
	$(MAKE) -C $(KERNEL_SRC) M=$(M) W=1 \
	$(KBUILD_OPTIONS) EXTRA_CFLAGS="$(EXTRA_CFLAGS)" KBUILD_EXTRA_SYMBOLS="$(EXTRA_SYMBOLS)" $(@)