2019-05-24 18:25:31 -04:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
|
2019-05-24 20:56:58 -04:00
|
|
|
# auto-detect subdirs
|
|
|
|
ifeq ($(CONFIG_ARCH_KONA), y)
|
|
|
|
include $(srctree)/techpack/camera/config/konacamera.conf
|
|
|
|
endif
|
|
|
|
|
|
|
|
# Use USERINCLUDE when you must reference the UAPI directories only.
|
|
|
|
USERINCLUDE += \
|
|
|
|
-I$(srctree)/techpack/camera/include/uapi
|
|
|
|
|
|
|
|
# Use LINUXINCLUDE when you must reference the include/ directory.
|
|
|
|
# Needed to be compatible with the O= option
|
|
|
|
LINUXINCLUDE += \
|
|
|
|
-I$(srctree)/techpack/camera/include/uapi \
|
|
|
|
-I$(srctree)/techpack/camera/include
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_ARCH_KONA), y)
|
|
|
|
LINUXINCLUDE += \
|
|
|
|
-include $(srctree)/techpack/camera/config/konacameraconf.h
|
|
|
|
endif
|
|
|
|
|
|
|
|
obj-y += drivers/
|