浏览代码

Camera: Add makefile support for camera drivers

This change adds dummy Makefile support to compile camera
driver project along with base kernel.

Change-Id: I237ba87442c17869b7cc264371c5c3996f43eb95
Signed-off-by: Jigarkumar Zala <[email protected]>
Jigarkumar Zala 6 年之前
父节点
当前提交
9be583aa80
共有 2 个文件被更改,包括 12 次插入0 次删除
  1. 4 0
      Makefile
  2. 8 0
      camera_stub.c

+ 4 - 0
Makefile

@@ -0,0 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
+ccflags-y := -Wno-unused-function
+obj-y := camera_stub.o

+ 8 - 0
camera_stub.c

@@ -0,0 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
+/*
+ * Copyright (c) 2019, The Linux Foundation. All rights reserved.
+ */
+
+static void _camera_techpack_stub(void)
+{
+}