blob: 68d2fbb225b13d579d7dd4b4451098212e7a347c [file] [log] [blame]
KERNEL_SRC ?= /lib/modules/$(shell uname -r)/build
M ?= $(shell pwd)
M=$(PWD)
BT_ROOT=$(KERNEL_SRC)/$(M)
KBUILD_OPTIONS+= BT_ROOT=$(BT_ROOT)
KBUILD_OPTIONS+= CONFIG_MSM_BT_POWER=m
KBUILD_OPTIONS+= CONFIG_BTFM_SLIM=m
all:
$(MAKE) -C $(KERNEL_SRC) M=$(M) modules $(KBUILD_OPTIONS)
modules_install:
$(MAKE) INSTALL_MOD_STRIP=1 -C $(KERNEL_SRC) M=$(M) modules_install
clean:
$(MAKE) -C $(KERNEL_SRC) M=$(M) clean