source: svn/newcon3bcm2_21bu/BSEAV/api/build/magnum/Makefile.core

Last change on this file was 76, checked in by megakiss, 10 years ago

1W 대기전력을 만족시키기 위하여 POWEROFF시 튜너를 Standby 상태로 함

  • Property svn:executable set to *
File size: 10.4 KB
Line 
1############################################################
2#     Copyright (c) 2003-2008, Broadcom Corporation
3#     All Rights Reserved
4#     Confidential Property of Broadcom Corporation
5#
6#  THIS SOFTWARE MAY ONLY BE USED SUBJECT TO AN EXECUTED SOFTWARE LICENSE
7#  AGREEMENT  BETWEEN THE USER AND BROADCOM.  YOU HAVE NO RIGHT TO USE OR
8#  EXPLOIT THIS MATERIAL EXCEPT SUBJECT TO THE TERMS OF SUCH AN AGREEMENT.
9#
10# $brcm_Workfile: Makefile.core $
11# $brcm_Revision: 58 $
12# $brcm_Date: 9/29/08 11:29a $
13#
14# Module Description:
15#
16# Revision History:
17#
18# Created: 02/09/2001 by Marcus Kellerman
19#
20# $brcm_Log: /BSEAV/api/build/magnum/Makefile.core $
21#
22# 58   9/29/08 11:29a gmohile
23# PR 25109 : Use compile time variable to use settop api sw rave
24#
25# 57   9/29/08 11:24a gmohile
26# PR 25109 : Use compile time variable to use settop api sw rave
27#
28# 56   9/26/08 10:39a gmohile
29# PR 25109 : Provide run time variable to set bits per sample for pcm
30# capture
31#
32# 55   8/13/08 10:29a gmohile
33# PR 45613 : Disable dacs for wma certification mode
34#
35# 54   6/20/08 6:01p anilmm
36# PR43453: Add support for 97459
37#
38# 53   4/25/08 2:30p bandrews
39# PR36149: Moved syslib framework impl out of board and into base
40#
41# 52   1/3/08 2:09p mphillip
42# PR35854: Merge p3d changes
43#
44# 51   12/4/07 5:34p jrubio
45# PR35015: compile pcm file
46#
47# 50   11/26/07 12:34p katrep
48# PR37217: 7335 bringup
49#
50# 47   10/29/07 3:50p jrubio
51# PR35015: fixing for 7325
52#
53# 46   10/9/07 3:35a katrep
54# PR35844: Added PCM playback support for 7405.
55#
56# 45   9/29/07 11:28p sushmit
57# PR 35339: [7405] Provide BRAT for 7405
58#
59# 44   7/30/07 12:04p erickson
60# PR32868: tspsi_validate.c no longer required by bmsglib
61#
62# PR35854/2   12/6/07 9:06p mphillip
63# PR35854: Need a helper for GRC calls
64#
65# PR35854/1   12/3/07 5:32p mphillip
66# PR35854: Update build for kernelmode 3D
67#
68# 43   7/20/07 11:51a katrep
69# PR27643: Add B_CONFIG_IMAGE support for 7405
70#
71# REFSW_97405_BRINGUP/1   6/24/07 2:35p katrep
72# PR27643: Added bsettop_base_rap_7405.c to use with RAP 2.0.
73#
74# 42   6/7/07 6:32p vle
75# PR 31924: Added check for HDMI Tx support
76#
77# 41   4/25/07 8:47a jgarrett
78# PR 30194: Adding check for BCHP_7411_VER on unsupported platforms
79#
80# 40   2/15/07 6:34p mphillip
81# PR26308: Separate bstream_set_encryption from bsettop_decode.c
82#
83# 39   1/17/07 11:42a anilmm
84# PR27129:add 97458A0 platform support
85#
86# 38   12/21/06 4:24p vsilyaev
87# PR26258: add cablecard support in Settop API kernel mode
88#
89# PROD_TRINITY_REFSW_Devel/1   12/19/06 3:28p haisongw
90# PR26258: add cablecard support in Settop API kernel mode
91#
92# 37   11/27/06 3:27p mward
93# PR23262: Add PCM, Smartcard for 97118.
94#
95# 36   11/16/06 10:21p qcheng
96# PR25950: Add ICAM2.2 support for 7401 C0 and 7118 A0
97#
98# 35   10/31/06 9:13a erickson
99# PR25109: add 7403 support
100#
101# 34   9/11/06 3:50p erickson
102# PR24056: added first pass of SW RAVE for ITB preprocessing before
103# decoding
104#
105# 33   8/11/06 5:56p mphillip
106# PR23573: Rename bcrypt_ to bcrypto_
107#
108# 32   7/31/06 4:20p mphillip
109# PR19544: Centralize BDMA access into b_root for general use
110#
111# 31   7/11/06 5:47p mphillip
112# PR19544: Initial commit of bcrypt_ stubs
113#
114# 30   6/19/06 1:00p erickson
115# PR21941: convert 7401 to use bsettop_base_rap_740x.c
116#
117# 29   5/26/06 9:03a mward
118# PR21671: Add support for 7118 chip 97118 board.
119#
120# 28   5/10/06 2:08p erickson
121# PR17108: 7401 now uses bsettop_base_xvd_740x.c
122#
123# 27   4/27/06 5:25p haisongw
124# PR 20984: add 97456 platform support
125#
126# 26   4/11/06 3:55p bandrews
127# PR19434: Added conditional compile BSYNC_SUPPORT and runtime flag
128# sync_enabled
129#
130# 25   4/4/06 4:01p erickson
131# PR20487: added rap tsm log
132#
133# 24   3/27/06 10:41a erickson
134# PR17108: separate 740x code
135#
136# 23   2/27/06 11:12a erickson
137# PR17108: use correct base_rap for 7400 and 7401
138#
139# 22   2/23/06 2:12p jgarrett
140# PR 19674: revisiting dual-audio support for 7400
141#
142# 21   2/22/06 10:07a jgarrett
143# PR 19674: Adding dual-decode support for the 97400
144#
145# 20   2/3/06 4:53p jgarrett
146# PR 19250: Update Set-Top API for 97400
147#
148# 19   1/20/06 11:50a erickson
149# PR17108: convert filter-out to findstring for 7401/7400 support
150#
151# 18   1/19/06 9:53a jgarrett
152# PR 19105: Create 97400 BSP
153#
154# Refsw_Devel_7400_A0/1   1/12/06 3:05p jgarrett
155# PR 18997: Creating directories for 7400
156#
157# 17   11/30/05 4:53p erickson
158# PR17108: added 7401 pcm
159#
160# 16   11/23/05 5:10p erickson
161# PR18256: added 97455 support
162#
163# 15   11/21/05 11:37a erickson
164# PR17108: moved 7401 rap code to bsettop_base_rap_7401.c
165#
166# 14   10/27/05 3:25p vsilyaev
167# PR 17844: split bsettop_decode.c to three files bsettop_decode.c
168# bsettop_decode_video.c and bsettop_decode_audio.c
169#
170# 13   9/22/05 12:34p erickson
171# PR17108: 7401 bringup
172#
173# 12   9/7/05 5:06p vsilyaev
174# PR 15377: Merged 7401 changes
175#
176# Refsw_97401_Bringup/2   8/25/05 5:25p vsilyaev
177# resolved undefined symbols
178#
179# Refsw_97401_Bringup/1   8/24/05 6:34p vsilyaev
180# Added compile type support for 7401 SettopApi
181#
182# 11   8/17/05 9:38p bandrews
183# PR16360: Initial lip sync impl
184#
185# 10   4/27/05 11:47a rgreen
186# PR15055: Add support for HDMI Rx to 3560
187# Move bsettop_base_hdmi_rx to board specific
188#
189# 9   4/26/05 4:54p rgreen
190# PR15055: Add HDMI Rx Support to 3560
191#
192# 8   3/29/05 4:34p vsilyaev
193# PR 14645: Added code to enable scrambling over HSX port[s].
194#
195# 7   3/24/05 12:54p vsilyaev
196# PR 14593: 93560 support
197#
198# Refsw_93560_Bringup/5   3/23/05 10:19p vsilyaev
199# More fixed for 3560  and back fixed for 97398.
200#
201# Refsw_93560_Bringup/4   3/23/05 5:34p vsilyaev
202# Added 3560 in-chip VSB support
203#
204# Refsw_93560_Bringup/3   3/21/05 4:37p vsilyaev
205# Compile smartcard only for platforms where it present.
206#
207# Refsw_93560_Bringup/2   3/21/05 1:43p vsilyaev
208# Removed tuners modules.
209#
210# Refsw_93560_Bringup/1   3/16/05 12:52p vsilyaev
211# Isolated BSP code.
212#
213# 5   3/9/05 7:44p vsilyaev
214# PR 14402: Moved compose into the toplevel makefile.
215#
216# 4   3/2/05 6:38p vsilyaev
217# PR 14305: Added raptor code
218#
219# 3   2/17/05 4:19p erickson
220# PR14180: fix vxworks
221#
222# 2   2/12/05 11:05a dlwin
223# Merge down for release 2005_REFSW_MERGETOMAIN:
224#
225# Irvine_BSEAVSW_Devel/19   2/10/05 5:03p jjordan
226# PR13959: Move bsettop_playback_ip.c to /pvr directory
227#
228# Irvine_BSEAVSW_Devel/18   2/8/05 7:13p vsilyaev
229# PR13959: Fixed build issue.
230#
231# Irvine_BSEAVSW_Devel/17   2/7/05 1:29p erickson
232# PR13908: split magnum's Makefile.core into two pieces, one for CFLAGS,
233# the other for internal source
234#
235# Irvine_BSEAVSW_Devel/16   2/2/05 4:44p erickson
236# PR13908: moved board code into subdir
237#
238# Irvine_BSEAVSW_Devel/15   2/2/05 4:21p erickson
239# PR13908: b_board refactoring
240#
241# Irvine_BSEAVSW_Devel/14   1/28/05 11:13a erickson
242# PR13908: refactor to make external include of Makefile.core correct
243#
244# Irvine_BSEAVSW_Devel/13   1/26/05 11:25a erickson
245# PR13908: made BCM_BOARD_NO public
246#
247# Irvine_BSEAVSW_Devel/12   1/25/05 5:39p erickson
248# PR13908: Settop API makefile rework
249#
250# Irvine_BSEAVSW_Devel/11   1/25/05 5:12p erickson
251# PR13908: Settop API makefile rework
252#
253# Irvine_BSEAVSW_Devel/10   1/13/05 4:35p vsilyaev
254# PR 13823: Added support for 97398 board.
255#
256# Irvine_BSEAVSW_Devel/9   5/26/04 4:06p erickson
257# PR11135: no longer using bkni_task
258#
259# Irvine_BSEAVSW_Devel/8   5/26/04 11:08a erickson
260# PR11135: added bkni_task and bsettop_core_event
261#
262# Irvine_BSEAVSW_Devel/7   5/12/04 10:23a erickson
263# PR10967: added standard header
264############################################################
265
266# Check platform first.
267SUPPORTED_7411_PLATFORMS := 97398
268ifneq ($(BCHP_7411_VER),)
269 ifneq ($(findstring $(SUPPORTED_7411_PLATFORMS),$(PLATFORM)),$(PLATFORM))
270  $(error BCHP_7411_VER only supported on $(SUPPORTED_7411_PLATFORMS) platforms)
271 endif
272endif
273
274# Include CFLAGS and other includes
275include $(BSEAV)/api/build/magnum/Makefile.inc
276
277ifeq ($(SCRAMBLE_HSX),y)
278CFLAGS += -DB_SCRAMBLE_HSX=1
279endif
280
281#
282# The remainder of this file defines SRCS and vpath
283#
284
285
286SRCS += \
287        bsettop.c \
288        bsettop_base.c \
289        bsettop_decode.c \
290        bsettop_decode_audio.c \
291        bsettop_decode_video.c \
292        bsettop_decode_still.c \
293        bsettop_display.c \
294        bsettop_graphics.c \
295        bsettop_mem.c \
296        bsettop_message.c \
297        bsettop_stream.c \
298        bsettop_stream_encryption.c \
299        bsettop_stubs.c \
300        bsettop_tuner.c \
301        bsettop_icam.c \
302        bsettop_user_io.c \
303        bsettop_vbi.c \
304        bsettop_api_thunks.c \
305        bsettop_cablecard.c \
306        bsettop_base_tune.c \
307        bsettop_tuner_${BCHP_CHIP}.c  \
308        bsettop_base_dma.c \
309        bsettop_base_video.c \
310        bsettop_base_xpt.c \
311        bsettop_base_vbi.c \
312        bsettop_base_userio.c \
313        bsettop_config.c
314
315ifeq ($(findstring $(CHIP),7118 7400 7401 7403 7405 7325 7335),$(CHIP))
316else
317SRCS += tspsi_validate.c
318endif
319
320ifneq ($(PLATFORM),97455 97456 97458 97459)
321SRCS += bsettop_base_tune_board.c
322endif
323
324ifdef B_HAS_PCM
325ifeq ($(findstring $(CHIP),7118 7400 7401 7403 7405 7335 7325),$(CHIP))
326ifeq ($(findstring $(CHIP),7405 7325 7335),$(CHIP))
327SRCS += bsettop_pcm_7405.c
328else
329SRCS += bsettop_pcm_7401.c
330endif
331else
332SRCS += bsettop_pcm.c
333endif
334else
335SRCS += bsettop_pcm_stub.c
336endif
337
338ifdef B_HAS_SMARTCARD
339SRCS += \
340        bsettop_smartcard.c
341else
342SRCS += \
343        bsettop_smartcard_stub.c
344endif
345
346ifdef B_HAS_LEGACY_AV
347SRCS += \
348        bsettop_base_audio.c \
349        bsettop_base_mvd.c
350endif
351
352# TODO: should default off
353ifeq ($(SYSTEM),linux)
354SRCS += bsettop_keystroke.c
355endif
356
357ifdef BCHP_XVD_CHIP
358ifeq ($(findstring $(CHIP), 7400 7401 7403 7405 7118 7325 7335) ,$(CHIP))
359ifeq ($(findstring $(CHIP), 7405 7325 7335),$(CHIP))
360ifeq ($(BRAT_SUPPORT),y)
361SRCS += bsettop_base_rap_brat.c
362CFLAGS += -I${ROCKFORD}/applications/brat/include -I${BSEAV}/lib/clif/include
363else
364SRCS += bsettop_base_rap_7405.c
365endif
366else
367SRCS += bsettop_base_rap_740x.c
368endif
369SRCS += bsettop_base_xvd_740x.c
370SRCS += bsettop_base_rave.c
371ifeq ($(B_USE_SETTOP_SW_RAVE), y)
372CFLAGS += -DB_USE_SETTOP_SW_RAVE=1
373endif
374ifeq ($(BRAP_SUPPORT_TSM_LOG),y)
375CFLAGS += -DBRAP_SUPPORT_TSM_LOG=1
376endif
377ifeq ($(WMA_CERTIFICATION),y)
378CFLAGS += -DWMA_CERTIFICATION=1
379endif
380ifeq ($(INTERNAL_PCM_CAPTURE),y)
381CFLAGS += -DB_SETTOPAPI_INTERNAL_PCM_CAPTURE=1
382endif
383else
384# 7411 based - 93560, 97398
385SRCS += bsettop_base_xvd.c
386SRCS += bsettop_base_rap.c
387endif
388endif
389
390ifeq ($(BSYNC_SUPPORT),y)
391SRCS += bsettop_sync.c
392endif
393
394ifeq ($(BCRYPTO_SUPPORT),y)
395SRCS += bsettop_crypto.c
396else
397SRCS += bsettop_crypto_stubs.c
398endif
399
400ifeq ($(B_GLES_SUPPORT),y)
401ifeq ($(SYSTEM),linuxkernel)
402SRCS += bsettop_p3d_helper.c
403endif
404endif
405
406ifeq ($(CABLECARD_SUPPORT), MPOD)
407CFLAGS += -DMPOD_SUPPORT
408else
409ifeq ($(CABLECARD_SUPPORT), SPOD)
410CFLAGS += -DSPOD_SUPPORT
411endif
412endif
413
414ifeq ($(HDMI_TX_SUPPORT),y)
415SRCS += bsettop_base_hdmi.c \
416                bsettop_hdmi.c  \
417                bsettop_hdmi_hdcp.c
418ifeq ($(BHDM_CEC_SUPPORT),y)
419SRCS += bsettop_hdmi_cec.c
420endif
421endif
422
423# Support for syslib framework
424SRCS += bsettop_syslib_impl.c
425
Note: See TracBrowser for help on using the repository browser.