xref: /utopia/UTPA2-700.0.x/modules/dmx/drv/tso2/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# **********************************************
26DRV_NAME = TSO2
27
28TSP4_CHIPS = kano k6 k6lite k7u
29
30# **********************************************
31# HAL Source Files
32# **********************************************
33HAL_DIR = \
34            tso                                                     \
35
36# **********************************************
37# Rules
38# **********************************************
39include $(ROOTLIB)/drv_rule.mk
40
41ifeq ($(CONFIG_INCREMENTAL_BUILD),y)
42ifeq ($(CONFIG_MSTAR_CLKM),y)
43LD_LIBS_INC += -L$(DDI_PATH)  -ldrvCLKM
44endif
45endif
46
47# **********************************************
48# Customization
49# **********************************************
50ifeq ($(CHIP), $(filter $(CHIP),$(TSP4_CHIPS)))
51CC_DEFS += -DTSP_VERSION
52CC_DEFS += -DTSP_VER_4_0
53endif
54