Browse Source

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

Change-Id: If982033e4f8196ef757341a9b3628a42de471c98
Signed-off-by: chandu078 <[email protected]>
Arian 2 năm trước cách đây
mục cha
commit
fb532581b7
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  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