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

Change-Id: If982033e4f8196ef757341a9b3628a42de471c98
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
This commit is contained in:
Arian 2022-07-06 18:27:50 +02:00 committed by David Wronek
parent 80690f4147
commit fb532581b7

View File

@ -1,8 +1,10 @@
# Makefile for use with Android's kernel/build system
KBUILD_OPTIONS += CAMERA_KERNEL_ROOT=$(shell pwd)
KBUILD_OPTIONS += CAMERA_KERNEL_ROOT=$(KERNEL_SRC)/$(M)
KBUILD_OPTIONS += KERNEL_ROOT=$(ROOT_DIR)/$(KERNEL_DIR)
KBUILD_OPTIONS += MODNAME=camera
KBUILD_OPTIONS += BOARD_PLATFORM=pineapple
KBUILD_OPTIONS += KBUILD_EXTRA_SYMBOLS=$(OUT_DIR)/../sm8650-modules/qcom/opensource/mmrm-driver/Module.symvers
all: modules