Parcourir la source

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 il y a 6 ans
Parent
commit
9be583aa80
2 fichiers modifiés avec 12 ajouts et 0 suppressions
  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)
+{
+}