From 9be583aa80c56e9e4cd3ce7fef45850cfbb565df Mon Sep 17 00:00:00 2001 From: Jigarkumar Zala Date: Fri, 24 May 2019 15:25:31 -0700 Subject: [PATCH] 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 --- Makefile | 4 ++++ camera_stub.c | 8 ++++++++ 2 files changed, 12 insertions(+) create mode 100644 Makefile create mode 100644 camera_stub.c diff --git a/Makefile b/Makefile new file mode 100644 index 0000000000..b5ddf0094c --- /dev/null +++ b/Makefile @@ -0,0 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0-only + +ccflags-y := -Wno-unused-function +obj-y := camera_stub.o diff --git a/camera_stub.c b/camera_stub.c new file mode 100644 index 0000000000..e2e808c53e --- /dev/null +++ b/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) +{ +}