bt-kernel: Add kbuild options from Android.mk to Makefile

Change-Id: I78070e7025b32061a7d12864e89d25ca98594577
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
This commit is contained in:
chandu078 2023-06-18 18:29:21 +02:00 committed by David Wronek
parent 3ec792aa41
commit 80690f4147

View File

@ -4,7 +4,11 @@ M ?= $(shell pwd)
M=$(PWD)
BT_ROOT=$(KERNEL_SRC)/$(M)
KBUILD_OPTIONS+= BT_ROOT=$(BT_ROOT)
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)