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 = DMX 27 28 29# ********************************************** 30# DRV Source Files 31# ********************************************** 32# tsp2 is prior than rasp 33BOX_CHIPS = u4 j2 k1 k2 kappa 34TSP3_CHIPS = agate eiffel monaco miami clippers muji munich manhattan maserati maxim 35TSP4_CHIPS = kaiser keltic keres kirin kano k6 k6lite curry k7u 36 37ifeq ($(CHIP), $(filter $(CHIP),$(BOX_CHIPS))) 38DRV_DIR = \ 39 tsp2 \ 40 rasp \ 41 42else ifeq ($(CHIP),maria10) 43DRV_DIR = \ 44 minitsp \ 45 46else 47DRV_DIR = \ 48 tsp \ 49 50endif 51 52ifeq ($(CHIP),$(filter $(CHIP),$(TSP3_CHIPS))) 53DRV_DIR = \ 54 tsp3 \ 55 56endif 57 58ifeq ($(CHIP),$(filter $(CHIP),$(TSP4_CHIPS))) 59DRV_DIR = tsp4 60 61ifeq ($(RASP_SUPPORT),y) 62DRV_DIR += rasp 63endif 64 65ifeq ($(OTV_SUPPORT),y) 66DRV_DIR += otv 67endif 68 69endif 70 71FQ_CHIPS = kappa keltic keres kirin monaco kano maserati maxim k6 k6lite curry k7u 72ifeq ($(CHIP),$(filter $(CHIP),$(FQ_CHIPS))) 73DRV_DIR += fq 74endif 75 76MMFI_CHIPS = t12 j2 a2 a1 k1 kappa a5 a7 a3 k2 a5p amethyst eagle edison macaw12 emerald eden euler einstein nike madison nugget nikon einstein3 napoli monet messi 77ifeq ($(CHIP), $(filter $(CHIP),$(MMFI_CHIPS))) 78DRV_DIR += mmfi 79endif 80 81MMFI2_CHIPS = agate eiffel kaiser keltic keres kirin monaco kano miami clippers muji munich manhattan maserati maxim k6 k6lite curry k7u 82ifeq ($(CHIP), $(filter $(CHIP),$(MMFI2_CHIPS))) 83DRV_DIR += mmfi2 84endif 85 86TSO_CHIPS = agate einstein nike kaiser keltic einstein3 keres kirin napoli 87ifeq ($(CHIP), $(filter $(CHIP),$(TSO_CHIPS))) 88DRV_DIR += tso 89endif 90 91TSO2_CHIPS = monaco miami munich muji manhattan maserati maxim kano k6 k6lite curry k7u 92ifeq ($(CHIP), $(filter $(CHIP),$(TSO2_CHIPS))) 93DRV_DIR += tso2 94endif 95 96TSIO_CHIPS = k6 k6lite 97ifeq ($(CHIP), $(filter $(CHIP),$(TSIO_CHIPS))) 98ifeq ($(TSIO_SUPPORT),y) 99DRV_DIR += tsio 100endif 101endif 102 103# ********************************************** 104# Rules 105# ********************************************** 106include $(ROOTLIB)/api_rule.mk 107 108