80690f4147
Change-Id: I78070e7025b32061a7d12864e89d25ca98594577 Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
21 lines
576 B
Makefile
21 lines
576 B
Makefile
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_BTFM_SLIM=m
|
|
KBUILD_OPTIONS += CONFIG_I2C_RTC6226_QCA=m
|
|
KBUILD_OPTIONS += CONFIG_MSM_BT_POWER=m
|
|
KBUILD_OPTIONS += KBUILD_EXTRA_SYMBOLS=$(OUT_DIR)/../sm8650-modules/qcom/opensource/wlan/platform/Module.symvers
|
|
|
|
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
|