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 <jzala@codeaurora.org>
This commit is contained in:
Jigarkumar Zala 2019-05-24 15:25:31 -07:00
parent fe50fa1d50
commit 9be583aa80
2 changed files with 12 additions and 0 deletions

4
Makefile Normal file
View File

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

8
camera_stub.c Normal file
View File

@ -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)
{
}