source: svn/newcon3bcm2_21bu/BSEAV/api/build/Makefile.pvr

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

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

  • Property svn:executable set to *
File size: 16.5 KB
Line 
1############################################################
2#     Copyright (c) 2005-2010, 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.pvr $
11# $brcm_Revision: 94 $
12# $brcm_Date: 5/20/10 10:42a $
13#
14# Module Description:
15#
16# Revision History:
17#
18# Created: 02/09/2001 by Marcus Kellerman
19#
20# $brcm_Log: /BSEAV/api/build/Makefile.pvr $
21#
22# 94   5/20/10 10:42a mward
23# SW7405-3773: Added bmp4_util.c, bmp4_fragment_demux.c.
24#
25# 93   3/23/10 11:48a mward
26# SW3556-1077: Custom player to handle non interleaved files
27#
28# 92   11/17/09 2:15p erickson
29# SW7405-3408: use $(filter) instead of $(findstring)
30#
31# 91   9/14/09 3:08p mward
32# SW7400-2517: Maintain Native Settop API (BUILD_SYSTEM=magnum) build for
33# 97400.
34#
35# 90   7/17/09 10:16a gmohile
36# PR 25109 : Add wav and riff parser
37#
38# 89   7/17/09 10:06a gmohile
39# PR 25109 : Add otfpvr in default build
40#
41# 88   3/6/09 11:23a mward
42# PR52434: Fix native Settop API kernelmode build.
43#
44# 87   1/16/09 10:43a mward
45# PR51078: Fix lib/media build in native Settop API.
46#
47# 86   12/12/08 5:10p mward
48# PR48760: Fix lib/media build in native Settop API.
49#
50# 85   9/10/08 1:12p gmohile
51# PR 25109 : Fix bmedia compile
52#
53# 84   7/1/08 4:30p erickson
54# PR41934: add bmedia_player_nav.c for thumbnail support
55#
56# 83   6/17/08 8:55a ssood
57# PR42739: previous changed used incorrect IP flag for non-ip builds
58#
59# 82   6/12/08 4:42p erickson
60# PR42739: remove rtp for non-IP builds
61#
62# 81   3/5/08 11:34a ssood
63# PR39645: B_HAS_NETACCEL_SUPPORT was not getting defined for 2.6.18
64#
65# 80   3/4/08 3:43p gmohile
66# PR 39818 : Fix makefile for MKV support
67#
68# 79   3/3/08 12:56p vsilyaev
69# PR 39818: Added MKV support
70#
71# 78   1/23/08 1:49p ssood
72# PR38608: adding include path for netaccel related header files: needed
73# to accelerated socket support
74#
75# 77   12/11/07 3:28p erickson
76# PR38073: add bmedia_player_generic.c
77#
78# 76   9/26/07 11:33a ptimariu
79# PR25598: added WMS_SUPPORT check
80#
81# 75   9/6/07 4:57p gmohile
82# PR 34640 : Add Divx Drm support
83#
84# 74   8/27/07 5:05p gmohile
85# PR 34361 : Add divx subtitle support
86#
87# 73   8/10/07 1:10a ssood
88# PR33786: Net DMA & IP Streamer refactoring: included NETACCEL_SUPPORT
89# flag
90#
91# 72   8/9/07 5:59p jrubio
92# PR33830: removed bsettop_record_ip.c
93#
94# 71   8/2/07 4:51p vsilyaev
95# PR 33751: Use bpvrlib_feed and bsink_playback to feed data from
96# MEDIA/SPF framework
97#
98# 70   7/12/07 4:33p vsilyaev
99# PR 32982: Don't compile media files unless PVR_SUPPORT is enabled
100#
101# 69   7/12/07 2:52p arbisman
102# PR28665: Add IPSTB support to VxWorks
103#
104# 68   5/18/07 12:10p jjordan
105# PR30200: Add SPF support to playback_ip builds
106#
107# 67   5/18/07 12:45a vsilyaev
108# PR 31188: Added support for FLV stream
109#
110# 66   5/16/07 9:58p vsilyaev
111# PR 28631: Use scatter/gather object from the file buffer
112#
113# 65   5/9/07 3:06p vsilyaev
114# PR 28631: Added parsing of audio stream header
115#
116# 64   5/7/07 5:38p vsilyaev
117# PR 29921: Better use of the AVI index
118#
119# 63   5/1/07 3:24p vsilyaev
120# PR 28631: Integrated support for MP4 container
121#
122# 62   4/25/07 11:26a gmohile
123# PR 29921: Added bmedia_util.c
124#
125# 62   4/25/07 11:25a gmohile
126# PR 29921: Added bmedia_util.c
127#
128# 62   4/25/07 11:19a gmohile
129# PR 29921: Added bmedia_util.c
130#
131# 61   4/25/07 9:37a jjordan
132# PR30200: adopt Stackable Parsing Framework in playpump_ip and brtp
133# modules
134#
135# 60   4/18/07 1:27p erickson
136# PR29921: fixed AVI_SUPPORT test
137#
138# 59   4/17/07 7:35p vsilyaev
139# PR 29921: Added support for bmedia_player
140#
141# 58   4/16/07 1:05p erickson
142# PR29890: move 7401 code to api/src/CHIP
143#
144# 57   3/30/07 12:16p erickson
145# PR28741: separate pvr stubs for main and pvr Settop API layers
146#
147# 56   3/28/07 4:00p vsilyaev
148# PR 29125: Moved AVI parsing into the media library
149#
150# 55   3/26/07 1:48a erickson
151# PR28741: bplayback_ip should use stubs, not full impl
152#
153# 54   3/14/07 11:22a erickson
154# PR28735: all platforms will now default to using playpump_throttle
155#
156# 53   3/6/07 7:00p ptimariu
157# PR20685: add drm nd support
158#
159# 52   3/1/07 7:09p vsilyaev
160# PR 25701: Added support for the AVI container
161#
162# 51   11/17/06 10:43a erickson
163# PR25230: move bcmplayer from SetTop/bcmplayer to BSEAV/lib/bcmplayer.
164# Remove SetTop from Brutus/Settop API build.
165#
166# 50   10/12/06 5:42p dlwin
167# PR 24747: Make biovec really unconditional, one more time.
168#
169# 49   10/12/06 4:57p vsilyaev
170# PR 24747: Make biovec really unconditional
171#
172# 48   10/4/06 5:38p vsilyaev
173# PR 24747: Always compile biovec.c
174#
175# 47   9/29/06 10:58a rjlewis
176# PR24594: only enable if not already disabled.
177#
178# 46   9/20/06 11:53a gmohile
179# PR 24129: Added support for 7313
180#
181# 45   9/18/06 2:52p vsilyaev
182# PR24127: Fix for the kernel mode build, take 2
183#
184# 44   9/18/06 9:50a erickson
185# PR24127: fixed ASF kernelmode build. indented code for readability.
186#
187# 43   9/16/06 6:22p dlwin
188# PR 24127: Added support for ASF when build for Kernel Mode
189# applications.
190#
191# 42   8/22/06 4:15p dlwin
192# PR 23822: Disable ASF/DRM support on default build
193#
194# PR20685_MSDRM/97398_200607/3   8/21/06 5:56p dlwin
195# PR 23719: One more change for Kernel build.
196#
197# PR20685_MSDRM/97398_200607/2   8/21/06 4:38p dlwin
198# PR 23719: Changes to have the default build for none ASF/DRM mode. To
199# build for DRM, one must explicitly define ASF too.
200#
201# PR20685_MSDRM/97398_200607/1   8/18/06 5:51p dlwin
202# PR 23719: Changes to have the default build for none ASF/DRM mode.
203#
204# 41   8/3/06 1:56p ptimariu
205# PR20685: moved drm script to Makefile.drm
206#
207# 40   8/3/06 1:24a ptimariu
208# PR20685: look for wmdrmpd10 as MS DRM dir
209#
210# 39   7/28/06 9:04p vsilyaev
211# PR 20577: Make optional ASF for the 7411 D0,E0 platforms
212#
213# 38   7/25/06 5:24p jjordan
214# PR22906: Integrate liveMedia open-source for RTP and RTCP support
215#
216# 37   7/20/06 6:13p ptimariu
217# PR20685: added asf drm support
218#
219# PR20685_MSDRM/2   7/13/06 3:26p ptimariu
220# PR20685: merging latest
221#
222# 36   7/7/06 11:24a erickson
223# PR22526: added ASF_SUPPORT env variable to enable ASF->PES on 740x
224#
225# PR20685_MSDRM/1   6/30/06 1:10p ptimariu
226# PR20685: added asf drm support
227#
228# 35   6/30/06 11:50a vsilyaev
229# PR 22372: Fixed 7411E0 support
230#
231# 34   6/27/06 4:17p dlwin
232# PR 22372: Added support 7411E0.
233#
234# 33   6/23/06 5:36p jjordan
235# PR22332: Add support for IP network jitter when using NET_IF DMA code
236#
237# 32   6/6/06 8:27p ahulse
238# PR20917: Only Cx chips have TSDMA, conditionally compile
239#
240# 31   6/6/06 7:19p ahulse
241# PR20917: Add MCARD 3DES decryption, using XPT TS_DMA/PB Engines, to
242# BCM7038 SW
243#
244# 30   4/7/06 3:50p vsilyaev
245# PR 20680: Added bfile library
246#
247# 29   4/4/06 6:50p vsilyaev
248# PR 20577: Separated ASF parser and ASF stream
249#
250# 28   3/17/06 7:23p rjlewis
251# PR19786: this needed in vxworks now.
252#
253# 27   3/15/06 4:51p vsilyaev
254# PR20221: NetIF DMA interface
255#
256# 26   3/6/06 1:24p erickson
257# PR19853: added VC1 PES support
258#
259# 25   2/7/06 10:28a erickson
260# PR17108: remove PLAYBACK_IP_SUPPORT=n and allow default of undefined
261# work
262#
263# 24   1/11/06 5:17p rjlewis
264# PR17108: don't need this with vxworks yet.
265#
266# 23   12/6/05 3:27p vsilyaev
267# PR 18463: Added support for Rave record
268#
269# 22   11/30/05 3:22p vsilyaev
270# PR 18183: Added FIFO file support
271#
272# 21   11/28/05 10:19a erickson
273# PR18256: remove unneeded reference for 97401
274#
275# 20   10/18/05 3:26p vsilyaev
276# PR17607: Fixed conditional for OTFPVR code
277#
278# 19   10/17/05 6:20p vsilyaev
279# PR17607: Added support for playback
280#
281# 18   9/16/05 1:14p erickson
282# PR17150: remove reference to 97395
283#
284# 17   9/14/05 2:16p erickson
285# PR17148: removed bcmplayer's define now that we have BCHP_7411_VER
286#
287# 16   9/7/05 5:06p vsilyaev
288# PR 15377: Merged 7401 changes
289#
290# Refsw_97401_Bringup/1   8/25/05 5:25p vsilyaev
291# resolved undefined symbols
292#
293# 15   8/5/05 3:06p erickson
294# PR16583: moved BCM7411C_BTP_FORMAT option so it will work with
295# kernelmode as well
296#
297# 14   8/5/05 2:46p erickson
298# PR16583: use BUILD_SYSTEM=proxy for proxy builds so that PLATFORM
299# information is available in the proxy layer
300#
301# 13   8/4/05 8:49a erickson
302# PR15072: need to compile playback_ip and record_ip always so that we at
303# least get the stubs
304#
305# 12   7/27/05 3:55p vsilyaev
306# PR 16385: Deactivated IP support.
307#
308# 11   7/27/05 3:29p vsilyaev
309# PR 16385: Merge IP record feature
310#
311# PROD_IPSTB_REFSW_Devel/1   7/13/05 3:57p wesleyl
312# PR15072: Add bsettop_record_ip.c
313#
314# 10   5/24/05 5:33p vsilyaev
315# PR 13873: Merge OTFPVR code
316#
317# Irvine_BSEAVSW_Devel/BESOTFPVR/6   11/15/04 8:43p vsilyaev
318# Removed otfpvr from the include path.
319#
320# Irvine_BSEAVSW_Devel/BESOTFPVR/5   11/13/04 2:25p vsilyaev
321# Renamed implementation file to match name of api(header).
322#
323# Irvine_BSEAVSW_Devel/BESOTFPVR/4   11/13/04 1:55p vsilyaev
324# Separated otfpvr to backend and frontend  parts.
325#
326# Irvine_BSEAVSW_Devel/BESOTFPVR/3   11/12/04 6:27p vsilyaev
327# Added OTFPVR files.
328#
329# Irvine_BSEAVSW_Devel/BESOTFPVR/2   11/12/04 6:03p vsilyaev
330# Merged from current.
331#
332# 9   4/22/05 8:01p vsilyaev
333# PR 14988: Added API to open "chunked" files.
334#
335# 8   4/15/05 5:25p haisongw
336# PR14830: VxWorks 7111 DSG/Brutus integration
337#
338# 7   3/24/05 12:53p vsilyaev
339# PR 14593: 93560 support
340#
341# 5   3/3/05 10:52a vsilyaev
342# PR 14296: Use generic FIFO library
343#
344# 4   2/18/05 3:58p erickson
345# PR14180: have to add pvr to vpath for ip settop stubs
346#
347# 3   2/16/05 4:44p erickson
348# PR13959: add B_HAS_IP define and support ip stubs
349#
350# 2   2/12/05 11:06a dlwin
351# Merge down for release 2005_REFSW_MERGETOMAIN:
352#
353# Irvine_BSEAVSW_Devel/31   2/10/05 5:02p jjordan
354# PR13959: Move bsettop_playback_ip.c to /pvr directory for use by legacy
355#
356# Irvine_BSEAVSW_Devel/30   2/8/05 7:13p vsilyaev
357# PR13959: Fixed build issue.
358#
359# Irvine_BSEAVSW_Devel/29   2/8/05 9:45a jjordan
360# PR13959: Initial checkin of IP STB
361#
362# Irvine_BSEAVSW_Devel/28   2/1/05 11:18a marcusk
363# PR13348: Initial checkin with support for BES record.
364#
365# Irvine_BSEAVSW_Devel/27   1/27/05 4:36p erickson
366# PR13908: updated proxy
367#
368# Irvine_BSEAVSW_Devel/26   1/25/05 5:39p erickson
369# PR13908: Settop API makefile rework
370#
371# Irvine_BSEAVSW_Devel/25   1/25/05 5:12p erickson
372# PR13908: Settop API makefile rework
373#
374############################################################
375
376# Default to on
377ifeq ($(PVR_SUPPORT),)
378PVR_SUPPORT=y
379endif
380
381# Find reasons to turn it off
382ifeq ($(SYSTEM),vxworks)
383        ifeq ($(filter $(PLATFORM),97111 97110 97312 97313), $(PLATFORM))
384                PVR_SUPPORT=n
385        endif
386endif
387
388CFLAGS += -I$(BSEAV)/lib/utils
389
390ifeq ($(PVR_SUPPORT),y)
391        ifeq ($(ASF_SUPPORT),y)
392                CFLAGS += -I$(BSEAV)/lib/asf -DB_HAS_ASF=1
393                vpath %.c $(BSEAV)/lib/asf
394                SRCS += \
395                        basf_stream.c \
396                        basf_util.c
397        endif
398
399        vpath %.c $(BSEAV)/lib/utils
400        SRCS += bpool.c balloc.c barena.c bioatom.c
401        CFLAGS += -I$(BSEAV)/lib/media -DB_HAS_MEDIA=1
402        vpath %.c $(BSEAV)/lib/media
403        SRCS += bmpeg1_parser.c
404
405        ifeq ($(FLV_SUPPORT),y)
406        CFLAGS += -I$(BSEAV)/lib/media/flv -DB_HAS_FLV=1
407        vpath %.c $(BSEAV)/lib/media/flv
408        SRCS += bflv_parser.c
409        endif
410
411
412        SRCS += bmedia_filter.c bmedia_pes.c bmedia_es.c bmedia_util.c
413        SRCS += bmp4_parser.c bmp4_util.c bmp4_fragment_demux.c
414
415        ifeq ($(AVI_SUPPORT),y)
416        CFLAGS += -I$(BSEAV)/lib/avi -DB_HAS_AVI=1
417        vpath %.c $(BSEAV)/lib/avi
418        SRCS += \
419                bavi_parser.c \
420                bavi_stream.c \
421                bavi_util.c
422        endif
423
424        SRCS +=  bwav_filter.c briff_parser.c
425
426        # JJ
427        CFLAGS += -I$(BSEAV)/lib/rtp
428        vpath %.c $(BSEAV)/lib/rtp
429        SRCS += \
430                brtp_spf.c \
431                btimestamp.c
432endif
433
434ifneq ($(BUILD_SYSTEM),proxy)
435        # main part of the Settop API (minus proxy layer for kernelmode builds)
436        ifeq ($(PVR_SUPPORT),y)
437
438                # Low-level PVR
439                # All platforms use playpump_throttle.c, not playpump.c. Only playpump_throttle has
440                # post-processing capabilities needed for ASF, AVI, etc. playpump.c is an optimized,
441                # direct-to-hardware implementation.
442                SRCS += \
443                        bsettop_recpump.c \
444                        bsettop_stctrick.c \
445                        bfifo.c \
446                        bsettop_playpump_throttle.c
447
448                SRCS += bsink_playback.c
449
450                ifeq ($(DRM_SUPPORT), y)
451                        ifneq ($(ASF_SUPPORT), y)
452                                $(error Error, DRM support requires ASF support too, ie 'make ASF_SUPPORT=y DRM_SUPPORT=y ...')
453                        endif
454                endif
455
456                ifeq ($(ASF_SUPPORT),y)
457
458                        DRM_BUILD_DIR       = $(BSEAV)/lib/drm/build
459                        DRMND_BUILD_DIR     = $(BSEAV)/lib/drmnd/build
460                        DRM_BUILD_LOCK      = $(DRM_BUILD_DIR)/.build
461                        DRM_BUILD_LOCK_INST = $(DRM_BUILD_DIR)/.build.install
462
463                        ifeq ($(DRM_SUPPORT), y)
464                                ifneq ($(shell test -d $(BSEAV)/lib/drm/wmdrmpd10 && echo y), y)
465                                        $(error Error, no DRM libraries found! please contact Broadcom for DRM licensing details)
466                                endif
467                                        ifeq ($(DRMND_SUPPORT), y)
468                                                                        $(error Error, incompatible build options DRM_SUPPORT=y DRMND_SUPPORT=y)
469                                endif
470                                include $(DRM_BUILD_DIR)/Makefile.drm
471                        else
472# DME: this can't be done apart from a rule
473#                               $(shell rm -rf $(DRM_BUILD_LOCK) $(DRM_BUILD_LOCK_INST))
474                        endif
475                        ifeq ($(DRMND_SUPPORT), y)
476                                include $(DRMND_BUILD_DIR)/Makefile.drm
477                        endif
478                endif
479#needed for bavi_stream.
480                ifeq (${SYSTEM},linuxkernel)
481                        ifeq ($(AVI_SUPPORT),y)
482                                SRCS += bmpeg4_util.c
483                        endif
484                endif
485#GM: DivX subtitle support
486                ifeq ($(SUBTITLE_SUPPORT),y)
487                        CFLAGS += -DSUBTITLE_SUPPORT=1
488                        CFLAGS += -I $(BSEAV)/api/utils/subtitle
489                        vpath %.c $(BSEAV)/api/utils/subtitle
490                        SRCS += subtitle_parse.c
491                endif
492
493#GM: DivX DRM support
494                ifeq ($(DIVX_DRM_SUPPORT),y)
495                        include $(BSEAV)/lib/divxdrm/Makefile.drm
496                endif
497
498                ifeq (${B_HAS_PLAYPUMP_IP},y)
499                        ifeq (${SPF_SUPPORT},y)
500                                CFLAGS += -DB_HAS_SPF_SUPPORT
501                                SRCS += bsettop_playpump_ip_spf.c
502                        else
503                                SRCS += bsettop_playpump_ip.c
504                        endif
505                        ifeq (${NETACCEL_SUPPORT},y)
506                                CFLAGS += -DB_HAS_NETACCEL
507                        endif
508                endif
509
510                ifeq ($(BUILD_SYSTEM),magnum)
511                        SRCS += \
512                                bsettop_playpump_trick.c \
513                                bsettop_recpump_rave.c
514
515                        ifeq ($(filter $(PLATFORM),97038 97398), $(PLATFORM))
516                                SRCS += \
517                                        bsettop_recpump_bes.c \
518                                        bsettop_recpump_ts.c
519                                ifneq ($(filter $(BCHP_VER),A0 B0 B1 B2), $(BCHP_VER))
520                                        SRCS += bsettop_recpump_tsdma.c
521                                endif
522                        endif
523                endif
524
525                ifeq ($(OTFPVR_SUPPORT),y)
526                        # On The Fly PVR
527                        # Be aware the proxy-support for otfpvr is not done. You would have to modify
528                        # api/build/proxy/autogen, then get the perl script to parse bsettop_otfpvr_pump.h
529                        SRCS += \
530                                bsettop_otfpvr_pump.c \
531                                botfpvr_feeder.c \
532                            bpvr_scv_parser.c \
533                            bpvr_gop_manager.c  \
534                            bpvr_marker.c \
535                            bpvr_alloc32.c \
536                                bpvr_gop_player.c
537
538                        CFLAGS += -DB_HAS_OTFPVR=1
539
540                        vpath %.c ${BSEAV}/linux/bin/bespvr
541                        vpath %.c ${BSEAV}/lib/otfpvr/7038
542                        vpath %.c ${BSEAV}/lib/otfpvr
543                endif
544        else # No PVR_SUPPORT
545                SRCS += bsettop_playpump_stub.c
546        endif
547endif
548
549# High-level PVR layer
550# for kernelmode, this is compiled in the proxy layer
551# for usermode, this is compiled in the main body
552ifeq ($(PVR_SUPPORT),y)
553        ifneq (${SYSTEM},linuxkernel)
554                ifeq ($(ASF_SUPPORT),y)
555                        SRCS += basf_player.c basf_parser.c
556                endif
557                SRCS += bmedia_player_es.c bmpeg_audio_util.c bid3_parser.c
558                SRCS += bmedia_player.c bmedia_index.c bmedia_player_generic.c
559                SRCS += bmp4_player.c bmp4_track.c bmpeg4_util.c bfile_buffer.c
560                SRCS += bmkv_player.c bmkv_parser.c bmkv_util.c bmkv_file_parser.c
561                SRCS += bmpeg2ts_parser.c bmpeg2ts_player.c baa_tree.c btime_indexer.c
562                SRCS += botf_marker.c bmpeg2pes_parser.c bmpeg2pes_player.c
563                ifeq ($(AVI_SUPPORT),y)
564                        SRCS += bavi_player.c bavi_player_custom.c
565                endif
566
567                vpath %.c $(BSEAV)/lib/bcmplayer/src
568                vpath %.c $(BSETTOP)/src/pvr
569                vpath %.c $(BSEAV)/lib/bfile
570                vpath %.c ${BSEAV}/lib/otfpvr
571                CFLAGS += -I$(BSETTOP)/src/pvr -I${BSEAV}/lib/otfpvr
572                SRCS += \
573                        bfile_io.c \
574                        bfile_cache.c \
575                        bsettop_fileio.c  \
576                        bsettop_fileio_chunk.c  \
577                        bsettop_fileio_fifo.c \
578                        bsettop_record.c        \
579                        bsettop_pvr_util.c \
580                        bsettop_playback.c      \
581                        bcmplayer.c \
582                        bcmindexer.c \
583                        bcmindexer_vc1.c \
584                        bvlc.c
585
586                CFLAGS += -DB_HAS_NAV_PLAYER=1
587                vpath %.c ${BSEAV}/lib/media
588                SRCS += bmedia_player_nav.c
589
590                ifeq ($(OTFPVR_SUPPORT),y)
591                        SRCS += bsettop_otfplay.c
592                else
593                        SRCS += bsettop_otfplay_stub.c
594                endif
595
596                # IP Settop support
597                # Always compile ip C files. If there's no support, we still need the stubs.
598                ifeq ($(B_HAS_PLAYPUMP_IP),y)
599                        CFLAGS += -DB_HAS_PLAYPUMP_IP
600                        ifeq (${SYSTEM},vxworks)
601                                vpath %.c $(BSEAV)/vxworks/driver/974xx
602                                CFLAGS += -I$(BSEAV)/vxworks/driver/974xx
603                                SRCS += netif_dma_vx.c
604                        endif
605                endif
606                SRCS += bsettop_playback_ip.c
607                ifeq (${NETACCEL_SUPPORT},y)
608                        CFLAGS += -DB_HAS_NETACCEL=1
609                endif
610                CFLAGS += -I$(BSEAV)/lib/netaccel/include
611        endif
612
613        ifeq ($(PLAYBACK_IP_SUPPORT),y)
614                CFLAGS += -DB_HAS_IP
615        endif
616else # No PVR_SUPPORT
617        SRCS += bsettop_pvr_stub.c
618endif
619
620ifeq ($(LIVEMEDIA_SUPPORT),y)
621        CFLAGS += -DLIVEMEDIA_SUPPORT
622endif
623
624ifeq ($(WMS_SUPPORT), y)
625        CFLAGS += -DB_HAS_WMS
626endif
627
Note: See TracBrowser for help on using the repository browser.