#
# Copyright (c) [2020], MediaTek Inc. All rights reserved.
#
# This software/firmware and related documentation ("MediaTek Software") are
# protected under relevant copyright laws.
# The information contained herein is confidential and proprietary to
# MediaTek Inc. and/or its licensors.
# Except as otherwise provided in the applicable licensing terms with
# MediaTek Inc. and/or its licensors, any reproduction, modification, use or
# disclosure of MediaTek Software, and information contained herein, in whole
# or in part, shall be strictly prohibited.
#

KBUILD_CFLAGS += -D'DONT_USE_CMA' -D'MSOS_TYPE_NOS' -D'MCU_ARM_CA7' -D'UTOPIA_V2'

UBOOTINCLUDE += -I$(srctree)/Mediatek-internal/drivers/driver/mvop/hal/$(BOARD)/mvop/ \
                -I$(srctree)/Mediatek-internal/drivers/driver/mvop/drv/mvop/

COBJS += ./hal/$(BOARD)/mvop/halMVOP.o
COBJS += ./drv/mvop/osalMVOP.o
COBJS += ./drv/mvop/drvMVOP.o

OBJS   := $(addprefix $(obj),$(AOBJS) $(COBJS))

obj-y += $(COBJS)

all:	$(obj).depend $(OBJS)

#########################################################################
# defines $(obj).depend target
include $(srctree)/rules.mk

sinclude $(obj).depend

#########################################################################
