xref: /utopia/UTPA2-700.0.x/modules/hdmi/api/mhl/Makefile (revision 53ee8cc121a030b8d368113ac3e966b4705770ef)
1
2################################################################################
3#
4# Copyright (c) 2008-2009 MStar Semiconductor, Inc.
5# All rights reserved.
6#
7# Unless otherwise stipulated in writing, any and all information contained
8# herein regardless in any format shall remain the sole proprietary of
9# MStar Semiconductor Inc. and be kept in strict confidence
10# ("MStar Confidential Information") by the recipient.
11# Any unauthorized act including without limitation unauthorized disclosure,
12# copying, use, reproduction, sale, distribution, modification, disassembling,
13# reverse engineering and compiling of the contents of MStar Confidential
14# Information is unlawful and strictly prohibited. MStar hereby reserves the
15# rights to any and all damages, losses, costs and expenses resulting therefrom.
16#
17#
18# Makefile used for building DDI
19#
20#
21################################################################################
22
23# **********************************************
24# DRV Name
25# **********************************************
26API_NAME = MHL
27
28MSTAR_MHL_CHIP = y
29EXTERNAL_MHL_CHIP = n
30
31# **********************************************
32# DRV Source Files
33# **********************************************
34# tsp2 is prior than rasp
35
36DRV_DIR = \
37            mhl                                                    \
38
39
40# **********************************************
41# Rules
42# **********************************************
43include $(ROOTLIB)/api_rule.mk
44
45API_INCDIR += $(ROOTLIB)/drv/mhl
46
47ifeq ($(EXTERNAL_MHL_CHIP),y)
48	CC_OPTS += -DEXTERNAL_MHL
49	ifeq ($(MSTAR_MHL_CHIP),y)
50		CC_OPTS += -DMSTAR_MHL
51		API_INCDIR += $(DDIHAL)/$(CHIP)/mhl/external/mstar
52	else
53		API_INCDIR += $(DDIHAL)/$(CHIP)/mhl/external/silicon
54	endif
55else
56	API_INCDIR += $(DDIHAL)/$(CHIP)/mhl/internal
57endif