#
# ===========================================================================
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this file,
# You can obtain one at http://mozilla.org/MPL/2.0/.
#
# Copyright (c) 2014-2016, Marvell International Ltd.
#
# Alternatively, this software may be distributed under the terms of the GNU
# General Public License Version 2, and any use shall comply with the terms and
# conditions of the GPL.  A copy of the GPL is available at
# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
#
# THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE
# IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE
# ARE EXPRESSLY DISCLAIMED.  The GPL license provides additional details about
# this warranty disclaimer.
# ================================================================================

#

obj-m += picdriver.o

obj-m += picconvenience.o

picconvenience-objs := pic_convenience.o pic_driverlib.o

picdriver-objs := pic.o pic_common.o pic_adcnorm.o pic_bulbmon.o pic_wdma.o pic_wdma_channel.o pic_output_dma.o pic_lrmargin.o pic_pd.o pic_idma2d.o pic_chipgap.o pic_bdr.o pic_hscale.o linux_files/pic_pltfm.o pic_driverlib.o linux_files/pic_handle_copy.o

ccflags-y += -I$(obj)/../../asic/G2/include -I$(obj)/../../drivers/ -I$(obj)/../../drivers/pic



