xref: /utopia/UTPA2-700.0.x/modules/dmx/drv/tsp4/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 = TSP4
27
28
29# **********************************************
30# HAL Source Files
31# **********************************************
32HAL_DIR = \
33            tsp                                                     \
34
35# **********************************************
36# Rules
37# **********************************************
38include $(ROOTLIB)/drv_rule.mk
39
40
41# **********************************************
42# Customization
43# **********************************************
44
45TSP4_RASP_CHIPS = kaiser keltic keres
46ifeq ($(CHIP), $(filter $(CHIP),$(TSP4_RASP_CHIPS)))
47DRV_INCDIR += $(DDIDRV)/rasp
48endif
49
50TSP4_OTV_CHIPS = kris kirin kano k6 k6lite
51ifeq ($(CHIP), $(filter $(CHIP),$(TSP4_OTV_CHIPS)))
52DRV_INCDIR += $(DDIDRV)/otv
53endif
54
55ifeq ($(CONFIG_INCREMENTAL_BUILD),y)
56ifeq ($(CONFIG_MSTAR_CLKM),y)
57LD_LIBS_INC += -L$(DDI_PATH)  -ldrvCLKM
58endif
59endif
60