xref: /utopia/UTPA2-700.0.x/modules/dscmb/drv/dscmb/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
23BOX_CHIPS = u4 j2 k1 k2 keltic kappa
24TSP3_CHIPS = agate eiffel monaco clippers miami muji manhattan maserati maxim
25# **********************************************
26# DRV Name
27# **********************************************
28DRV_NAME = DSCMB
29
30
31# **********************************************
32# HAL Source Files
33# **********************************************
34HAL_DIR = \
35            dscmb                                                   \
36
37
38# **********************************************
39# Rules
40# **********************************************
41include $(ROOTLIB)/drv_rule.mk
42
43# TODO : not good for driver alling driver, plan to obsolete
44ifeq ($(CHIP), $(filter $(CHIP),$(BOX_CHIPS)))
45DRV_INCDIR += $(DDIDRV)/tsp2
46
47else ifeq ($(CHIP), $(filter $(CHIP),$(TSP3_CHIPS)))
48DRV_INCDIR += $(DDIDRV)/tsp3
49
50else
51DRV_INCDIR += $(DDIDRV)/tsp
52endif
53