Parcourir la source

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

Change-Id: If982033e4f8196ef757341a9b3628a42de471c98
Signed-off-by: chandu078 <[email protected]>
Arian il y a 2 ans
Parent
commit
fb532581b7
1 fichiers modifiés avec 3 ajouts et 1 suppressions
  1. 3 1
      qcom/opensource/camera-kernel/Makefile

+ 3 - 1
qcom/opensource/camera-kernel/Makefile

@@ -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