source: svn/newcon3bcm2_21bu/BSEAV/api/include/api.mak @ 46

Last change on this file since 46 was 46, checked in by megakiss, 11 years ago

459Mhz로 OTC 주파수 변경

  • Property svn:executable set to *
File size: 17.1 KB
Line 
1###########################################################
2#     Copyright (c) 2003-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: api.mak $
11# $brcm_Revision: 78 $
12# $brcm_Date: 1/21/10 5:36p $
13#
14# Module Description:
15#
16# Revision History:
17#
18# $brcm_Log: /BSEAV/api/include/api.mak $
19#
20# 78   1/21/10 5:36p mphillip
21# SW7420-553: Add platform for 93380vms
22#
23# 77   1/19/10 6:50p mphillip
24# SW7420-541: Rename 97420dvr2 to 97420
25#
26# 76   12/11/09 4:57p mphillip
27# SW7550-112: Merge 7550 changes to main branch
28#
29# Refsw_7550/4   12/11/09 2:24p rjain
30# SW7550-112: Merging LATEST FROM  main branch.
31#
32# Refsw_7550/3   11/5/09 11:25a nitinb
33# sw7550-64: Initial brutus build for 7550
34#
35# 75   12/10/09 10:53a jgarrett
36# SW7468-6: Adding 97468
37#
38# 74   11/5/09 11:32a vsilyaev
39# SW7408-1 : Add 7408 support
40#
41# SW7408-1/1   11/5/09 10:50a gmohile
42# SW7408-1 : Add 7408 support
43#
44# 73   11/3/09 6:58p vsilyaev
45# SW7420-331: Rename 97410c to 97410
46#
47# 72   9/24/09 12:18p jgarrett
48# SW7125-28: Merge to main branch
49#
50# 71   9/16/09 9:02a vsilyaev
51# SW7420-331: Added support for 97410c platform
52#
53# PR55545/1   8/20/09 7:20p mward
54# PR55545: Adding 7125 platforms.
55#
56# 70   8/6/09 11:59a jgarrett
57# PR 55232: Adding 7340/7342 support
58#
59# 69   8/5/09 6:10p vsilyaev
60# PR53773: Remove bcrypt dependency for DTCP/IP
61#
62# PR53773/2   8/5/09 6:02p lwhite
63# PR53773: Remove bcrypt dependency for DTCP/IP
64#
65# 68   6/24/09 2:58p vsilyaev
66# PR53773: Adding DTCP/IP + SSL Compilation support
67#
68# PR53773/1   6/24/09 2:25p ssood
69# PR53773: Adding DTCP/IP + SSL Compilation support
70#
71# 67   3/26/09 10:56a vsilyaev
72# PR 53611: Use simply expanded variables everywhere where $(shell ...)
73# is used. It prevents evaluation of $(shell ) every where variable is
74# used
75#
76# 66   3/13/09 2:53p vsilyaev
77# PR 53225: Adeed NEXUS_BIN_DIR_SUFFIX and NEXUS_BIN_DIR
78#
79# 65   3/2/09 11:03a jgarrett
80# PR 52599: Adding 97205
81#
82# 64   2/4/09 10:38a jrubio
83# PR51629: add 7336 support
84#
85# 63   12/24/08 12:39p jgarrett
86# PR 50703: Changes for 7420 bringup
87#
88# 62   12/19/08 7:48p vsilyaev
89# PR 50567: Added 97466 platform
90#
91# 61   11/6/08 10:29a jgarrett
92# PR 48700: Bumping version number
93#
94# 60   9/29/08 11:56a vsilyaev
95# PR47283: LIVEMEDIA libraries conditionaly included
96#
97# PR47283/1   9/24/08 10:08a lwhite
98# PR47283: LIVEMEDIA libraries conditionaly included
99#
100# 59   7/21/08 3:55p jgarrett
101# PR 42739: Adding IP support libraries for nexus builds
102#
103# 58   6/23/08 5:24p vsilyaev
104# PR 43453: Added 97459 platform
105#
106# 57   6/12/08 10:09a jgarrett
107# PR 42739: Adding nexus IP
108#
109# 56   6/11/08 11:53a jgarrett
110# PR 43489: Adding brutus support for 93549/93556
111#
112# 55   6/10/08 10:50a jgarrett
113# PR 40352: Setting nexus library options for vxworks
114#
115# 54   5/21/08 2:02p vsilyaev
116# PR 40352: VxWorks uses different extension for libraries
117#
118# 53   5/16/08 2:25p jgarrett
119# PR 42774: Defaulting BUILD_SYSTEM based on nexus
120#
121# 52   3/31/08 6:04p jgarrett
122# PR 40606: Adding oslib
123#
124# 97459_Phase_2.1/1   6/9/08 4:04p anilmm
125# PR43453: Add support for 97459
126#
127# 51   1/21/08 11:41a jgarrett
128# PR 38808: Fixing typo in nexus top
129#
130# 50   1/18/08 4:54p jgarrett
131# PR 38808: Updating nexus location
132#
133# 49   1/7/08 11:07a jgarrett
134# PR 36068: Adding NEXUS_TOP
135#
136# 48   12/14/07 5:49p vsilyaev
137# PR38078: PR38078: Separate BCM_BOARD_NO and BCM_BOARD for 97108  -
138# handle same as 97118 except for BCM_BOARD_STR.
139# PR38078: Create PLATFORM for 97018, 97018RNG
140#
141# PR38078/2   12/11/07 4:26p mward
142# PR38078: Separate BCM_BOARD_NO and BCM_BOARD for 97108  - handle same
143# as 97118 except for BCM_BOARD_STR.
144#
145# PR38078/1   12/10/07 7:13p mward
146# PR38078: Create PLATFORM for 97018, 97018RNG
147#
148# 47   11/28/07 9:39a jgarrett
149# PR 36068: Adding 3563
150#
151# 46   11/26/07 1:42p jgarrett
152# PR 37217: Adding 7335
153#
154# 45   10/19/07 3:38p vsilyaev
155# PR 35015: Added 7325 platform
156#
157# 44   10/16/07 2:33p vsilyaev
158# PR 36068: Added NEXUS platform
159#
160# 43   1/18/07 10:13a vsilyaev
161# PR27129: add 97458A0 platform support
162#
163# 42   11/17/06 10:43a erickson
164# PR25230: move bcmplayer from SetTop/bcmplayer to BSEAV/lib/bcmplayer.
165# Remove SetTop from Brutus/Settop API build.
166#
167# 41   10/31/06 9:15a erickson
168# PR25109: add 7403 and 7405
169#
170# 40   10/3/06 10:26a gmohile
171# PR 24129: Added support for 7313
172#
173# 39   9/29/06 4:29p mward
174# PR24604: create PLATFORM for 97118RNG.
175#
176# 38   9/15/06 5:22p mphillip
177# PR24027: set up BSETTOP_LIBS for static builds, too.  This causes
178# apps/utilities to be re-linked if libsettop.a has been rebuilt.
179#
180# 37   8/17/06 4:07p katrep
181# PR23114: Get the build going for 97440
182#
183# 36   6/6/06 3:21p erickson
184# PR21875: removed deprecated BCHP_REV support
185#
186# 35   5/26/06 9:02a mward
187# PR21671: Add support for 7118 chip 97118 board.
188#
189# 34   4/28/06 3:52p dlwin
190# PR 20984: add 97456 platform support
191#
192# 34   4/28/06 3:51p dlwin
193# PR 20984: add 97456 platform support
194#
195# 33   4/20/06 3:15p erickson
196# PR19738: 97435 merge
197#
198# 32   4/7/06 3:50p vsilyaev
199# PR 20680: Added bfile library
200#
201# 31   2/7/06 5:00p erickson
202# PR17108: still need BCHP_REV
203#
204# 30   1/18/06 11:52a rjlewis
205# PR19044: linux vxworks builds case sensitive.
206#
207# 29   1/16/06 11:23a gmullen
208# PR18998: Added 97400 support.
209#
210# 28   12/12/05 7:31p rjlewis
211# PR17651: DOS filenames are case insensitive.
212#
213# 27   11/23/05 5:10p erickson
214# PR18256: added 97455 support
215#
216# 26   10/17/05 2:49p dlwin
217# PR 17651: changes for 7411 D0
218#
219# 25   10/13/05 4:41p dlwin
220# PR 17328: Merged the change from IP STB to main-branch.
221#
222# 24   9/28/05 5:01p erickson
223# PR17069: distiguish between 97318 and 97318AVC correctly
224#
225# 23   9/26/05 3:43p erickson
226# PR17229: changed default BCHP_VER and added check for 7038 to avoid
227# problems
228#
229# 22   9/15/05 10:55a erickson
230# PR17148: removed unnecessary BCHP_REV_XX define
231#
232# 21   9/14/05 5:06p erickson
233# PR17148: still support BCHP_REV in environment for now
234#
235# 20   9/14/05 2:16p erickson
236# PR17148: replaced BCHP_REV with BCHP_VER, added BCHP_7411_VER where
237# needed, removed unused FAMILY And FLAVOR defines
238#
239# 19   9/7/05 5:06p vsilyaev
240# PR 15377: Merged 7401 changes
241#
242# Refsw_97401_Bringup/2   8/24/05 2:40p vsilyaev
243# Backmerge from /main/
244#
245# 18   8/5/05 2:46p erickson
246# PR16583: use BUILD_SYSTEM=proxy for proxy builds so that PLATFORM
247# information is available in the proxy layer
248#
249# 17   8/4/05 4:41p erickson
250# PR15139: collected generic build configuration into
251# BSEAV/build/refsw_inc.mak
252#
253# 16   7/18/05 6:14p vsilyaev
254# PR 15377: Refactoring of the board support package
255#
256# Refsw_97401_Bringup/1   7/12/05 1:47a vsilyaev
257# Added support for 97401
258#
259# 15   4/27/05 7:18p wesleyl
260# PR15072: fix 97318 vxworks build
261#
262# 14   4/27/05 2:33p wesleyl
263# PR15072: Change to use BSETTOP_LDFLAGS insteads of BSETTOP_LIB
264#
265# 13   4/27/05 2:25p wesleyl
266# PR15072:Fixed conditional build for non-97318 platform
267#
268# 12   4/26/05 4:57p erickson
269# PR14830: back out bad vxworks merge
270#
271# 11   4/22/05 2:33p erickson
272# PR14708: allow BCHP_REV env overrides for DOS
273#
274# 10   4/15/05 5:26p haisongw
275# PR14830: VxWorks 7111 DSG/Brutus integration
276#
277# 9   4/9/05 4:37p wesleyl
278# PR3093: Fixed BSETTOP_MAGNUM_CFLAGS for legacy build
279#
280# 8   4/9/05 4:18p wesleyl
281# PR3093: Add VxWorks support for 97318
282#
283# 7   4/8/05 6:03p vsilyaev
284# PR 14735: Export DEBUG flags as BSETTOP_MAGNUM_CFLAGS.
285#
286# 6   3/24/05 12:54p vsilyaev
287# PR 14593: 93560 support
288#
289# Refsw_93560_Bringup/1   3/10/05 6:53p vsilyaev
290# Added 93560 support
291#
292# 4   2/22/05 2:04p erickson
293# PR14180: no _ between PLATFORM and BCHP_REV in case platform has no
294# BCHP_REV
295#
296# 3   2/22/05 1:52p erickson
297# PR14180: added BCHP_REV to BSETTOP_BIN
298#
299# 2   2/17/05 1:49p erickson
300# PR9497: make defs vxworks-friendly
301#
302# 1   2/7/05 7:04p dlwin
303# Merge down for release 2005_REFSW_MERGETOMAIN:
304#
305###############################################################
306
307#
308# This file should be included by Makefile's in order
309# to build the Settop API. Before including, you must
310# define PLATFORM and BSEAV.
311#
312# Then use the following:
313# BSETTOP_BIN - location of shared libraries
314# BSETTOP_CFLAGS - compiler flags needed to include Settop API headers
315# BSETTOP_LDFLAGS - linker flags for using the Settop API library
316# BSETTOP_LIBS - shared libraries which must be copied to the target
317#
318
319BSETTOP := ${BSEAV}/api
320MAGNUM := $(BSEAV)/../magnum
321NEXUS_TOP := $(BSEAV)/../nexus
322
323# Get system-specific CFLAGS and LDFLAGS based on SYSTEM, PLATFORM, DEBUG
324include $(BSEAV)/build/refsw_inc.mak
325
326# Guess BUILD_SYSTEM based on existence of nexus directory.
327ifndef BUILD_SYSTEM
328ifeq ($(wildcard $(NEXUS_TOP)),)
329# This is magnum.  Leave the variable unset.
330else
331# Nexus code exists.  Assume nexus.
332BUILD_SYSTEM := nexus
333endif
334endif
335
336###############################################
337#
338# Verify PLATFORM and SYSTEM
339#
340
341include $(BSEAV)/build/platforms.mak
342
343.PHONY: check_environment
344check_environment:
345ifndef PLATFORM
346        $(error PLATFORM is undefined. Valid platforms are $(PLATFORMS).)
347endif
348ifeq ($(findstring $(PLATFORM),$(PLATFORMS)),)
349        $(error PLATFORM is defined to an unknown value. Valid platforms are $(PLATFORMS).)
350endif
351ifndef BSEAV
352        $(error BSEAV is undefined. You must define this.)
353endif
354ifeq ($(findstring $(SYSTEM),linux linuxkernel vxworks),)
355        $(error SYSTEM is defined to an unknown value $(SYSTEM).)
356endif
357
358ARCH ?= mipsel-uclibc
359BCM_BOARD_NO = $(PLATFORM)
360
361# convert PLATFORM to CHIP
362ifeq ($(PLATFORM),937xx)
363CHIP=venom2
364# NOTE: This isn't really right, but this is an old platform anyway
365BCM_BOARD_NO=93740
366endif
367ifeq ($(PLATFORM),97038)
368CHIP=7038
369endif
370ifeq ($(PLATFORM),93560)
371CHIP=3560
372endif
373ifeq ($(PLATFORM),93563)
374CHIP=3563
375endif
376ifeq ($(PLATFORM),93549)
377CHIP=3548
378endif
379ifeq ($(PLATFORM),93556)
380CHIP=3556
381endif
382
383ifeq ($(PLATFORM),97018)
384BSETTOP_CFLAGS += -DB_XVD_NO_HD_SUPPORT=1
385BCM_BOARD_NO=97018
386CHIP=7118
387endif
388ifeq ($(PLATFORM),97118)
389CHIP=7118
390endif
391ifeq ($(PLATFORM),97018RNG)
392CHIP=7118
393BCM_BOARD_NO=97018
394BSETTOP_CFLAGS += -DB_XVD_NO_HD_SUPPORT=1 -DRNG_BOARD=1
395endif
396ifeq ($(PLATFORM),97118RNG)
397CHIP=7118
398BCM_BOARD_NO=97118
399BSETTOP_CFLAGS += -DRNG_BOARD=1
400endif
401ifeq ($(PLATFORM),97125)
402CHIP=7125
403endif
404ifeq ($(PLATFORM),97025)
405CHIP=7125
406endif
407ifeq ($(PLATFORM),97468)
408CHIP=7468
409endif
410ifeq ($(PLATFORM),97208)
411CHIP=7468
412endif
413ifeq ($(PLATFORM),97119)
414CHIP=7125
415endif
416ifeq ($(PLATFORM),97019)
417CHIP=7125
418endif
419ifeq ($(PLATFORM),97116)
420CHIP=7125
421endif
422ifeq ($(PLATFORM),97420)
423CHIP=7420
424BCM_BOARD_NO=97420
425endif
426ifeq ($(PLATFORM),93380vms)
427CHIP=7420
428BCM_BOARD_NO=97420
429endif
430ifeq ($(PLATFORM),97410)
431CHIP=7420
432BCM_BOARD_NO=97410
433endif
434
435ifeq ($(PLATFORM),97395)
436CHIP=7038
437endif
438ifeq ($(PLATFORM),97398)
439CHIP=7038
440endif
441ifeq ($(PLATFORM),97400)
442CHIP=7400
443endif
444ifeq ($(PLATFORM),97456)
445CHIP=7400
446endif
447ifeq ($(PLATFORM),97401)
448CHIP=7401
449endif
450ifeq ($(PLATFORM),97403)
451CHIP=7403
452endif
453ifeq ($(PLATFORM),97405)
454CHIP=7405
455endif
456ifeq ($(PLATFORM),97408)
457CHIP=7408
458endif
459ifeq ($(PLATFORM),97550)
460CHIP=7550
461endif
462
463
464ifeq ($(PLATFORM),97466)
465CHIP=7405
466endif
467ifeq ($(PLATFORM),97205)
468CHIP=7405
469endif
470ifeq ($(PLATFORM),97459)
471CHIP=7405
472endif
473
474ifeq ($(PLATFORM),97325)
475CHIP=7325
476endif
477ifeq ($(PLATFORM),97335)
478CHIP=7335
479endif
480ifeq ($(PLATFORM),97336)
481CHIP=7336
482endif
483
484ifeq ($(PLATFORM),97342)
485CHIP=7342
486endif
487ifeq ($(PLATFORM),97340)
488CHIP=7340
489endif
490
491ifeq ($(PLATFORM),97440)
492CHIP=7440
493endif
494
495ifeq ($(PLATFORM),97455)
496CHIP=7401
497endif
498
499ifeq ($(PLATFORM),97458)
500CHIP=7403
501endif
502
503ifeq ($(PLATFORM),97435)
504CHIP=7401
505endif
506
507ifeq ($(PLATFORM),97110)
508CHIP=7110
509endif
510ifeq ($(PLATFORM),97111)
511CHIP=7110
512BCM_BOARD_NO=97110
513endif
514ifeq ($(PLATFORM),97112)
515# For the 7112, everything is the same as the 7115, except hardwareinterface
516CHIP=7115
517endif
518ifeq ($(PLATFORM),97115)
519CHIP=7115
520endif
521ifeq ($(PLATFORM),97312)
522CHIP=7312
523endif
524ifeq ($(PLATFORM),97313)
525CHIP=7313
526endif
527ifeq ($(PLATFORM),97314)
528# For the 7314, many things are like a 7315, but some are 7317 and some are 7314
529CHIP=7315
530BCM_CHIP_FLAVOR = 7314
531endif
532ifeq ($(PLATFORM),97315)
533CHIP=7315
534endif
535ifeq ($(PLATFORM),BBX)
536CHIP=7315
537endif
538ifeq ($(PLATFORM),97317)
539# For the 7317, everything is the same as the 7315, except hardwareinterface
540# and portinginterface/tm
541CHIP=7315
542BCM_CHIP_FLAVOR = 7317
543endif
544ifeq ($(PLATFORM),97318)
545CHIP=7318
546endif
547ifeq ($(PLATFORM),97318AVC)
548CHIP=7318
549BCM_BOARD_NO=97318
550CONFIG_XVD_SUPPORT=y
551endif
552ifeq ($(PLATFORM),97319)
553# For the 7319, everything is the same as the 7320, except hardwareinterface
554CHIP=7320
555endif
556ifeq ($(PLATFORM),97320)
557CHIP=7320
558endif
559ifeq ($(PLATFORM),97327)
560CHIP=7327
561endif
562ifeq ($(PLATFORM),97328)
563CHIP=7328
564endif
565ifeq ($(PLATFORM),97329)
566CHIP=7329
567endif
568
569# Default the chip revision to something vanilla.
570ifeq ($(BCHP_VER),)
571BCHP_VER = A0
572endif
573
574ifeq (${SYSTEM},vxworks)
575ifneq ($(OSTYPE),linux)
576# DOS is case insensitive
577PLATFORM_PATH = $(BCHP_VER)
578else
579# VxWorks on linux is case sensitive
580PLATFORM_PATH := $(shell awk 'BEGIN{print tolower("$(BCHP_VER)")}')
581endif
582else
583PLATFORM_PATH := $(shell awk 'BEGIN{print tolower("$(BCHP_VER)")}')
584endif
585
586# The location of the generated binaries
587ifneq ($(findstring $(BUILD_SYSTEM),proxy nexus),)
588BSETTOP_BIN =${BSETTOP}/lib/$(BUILD_SYSTEM)${PLATFORM}$(BCHP_VER)_${ARCH}.$(DEBUG_SUFFIX)
589else
590BSETTOP_BIN =${BSETTOP}/lib/${SYSTEM}${PLATFORM}$(BCHP_VER)_${ARCH}.$(DEBUG_SUFFIX)
591endif
592
593# SYSTEM-specific include must precede general include dir
594BSETTOP_CFLAGS += -I$(BSETTOP)/include/$(SYSTEM)
595BSETTOP_CFLAGS += -I${BSETTOP}/include -I${BSEAV}/lib/bfile
596
597# Required Magnum chip definitions based on PLATFORM
598BSETTOP_CFLAGS += -DBCHP_CHIP=${CHIP} -DBCHP_VER=BCHP_VER_$(BCHP_VER)
599# Settop API board definitions based on PLATFORM
600ifeq ($(BCM_BOARD_NO),97018)
601BSETTOP_CFLAGS += -DBCM_BOARD=97118
602else
603BSETTOP_CFLAGS += -DBCM_BOARD=$(BCM_BOARD_NO)
604endif
605# Magnum secondary chip definition (the trailing x is needed to distinguish 97318 and 97318AVC)
606ifeq ($(findstring $(PLATFORM)x,97398x 97318AVCx 93560x),$(PLATFORM)x)
607ifeq ($(BCHP_7411_VER),)
608BCHP_7411_VER=C0
609endif
610ifeq (${SYSTEM},vxworks)
611ifneq ($(OSTYPE),linux)
612# DOS is case insensitive
613BCHP_7411_VER_LOWER = $(BCHP_7411_VER)
614else
615# VxWorks on linux is case sensitive
616BCHP_7411_VER_LOWER := $(shell awk 'BEGIN{print tolower("$(BCHP_7411_VER)")}')
617endif
618else
619BCHP_7411_VER_LOWER := $(shell awk 'BEGIN{print tolower("$(BCHP_7411_VER)")}')
620endif
621BSETTOP_CFLAGS += -DBCHP_7411_VER=BCHP_VER_$(BCHP_7411_VER)
622endif
623
624# add definitions from refsw_inc.mak
625BSETTOP_CFLAGS += $(B_REFSW_CFLAGS)
626BSETTOP_LDFLAGS += $(B_REFSW_LDFLAGS)
627CFLAGS_SHARED = $(B_REFSW_CFLAGS_SHARED)
628
629#
630# BSETTOP_LIBS are binaries which must be installed to the target.
631# If you are doing a static build, BSETTOP_LIBS is not needed.
632#
633ifeq (${SYSTEM},vxworks)
634
635BLIB_EXT=out
636BSETTOP_LDFLAGS += -nostdlib -r -Wl,-EB -Wl,-X
637ifeq ($(SHAREDLIB),no)
638BSETTOP_LDFLAGS += -L${BSEAV}/vxworks/driver/build/${PLATFORM}/${ARCH}.$(DEBUG_SUFFIX)
639BSETTOP_LDFLAGS += -L${BSETTOP_BIN} -lsettop
640ifeq ($(PLATFORM),97318)
641BSETTOP_LDFLAGS += -lbcm97318
642endif
643ifeq ($(PLATFORM),97318AVC)
644BSETTOP_LDFLAGS += -lbcm97318AVC
645endif
646endif
647
648else
649
650ifeq ($(SHAREDLIB),no)
651BLIB_EXT=a
652BSETTOP_LDFLAGS += ${BSETTOP_BIN}/libsettop.${BLIB_EXT} -lm -lpthread
653else
654BLIB_EXT=so
655BSETTOP_LDFLAGS = -L${BSETTOP_BIN} -lsettop -lm -lpthread
656endif
657
658endif
659
660BSETTOP_LIBS = ${BSETTOP_BIN}/libsettop.${BLIB_EXT}
661
662# NEXUS_BIN_DIR can't be used in the api.mak since it doesn't include platform_app.inc
663ifeq ($(BUILD_SYSTEM),nexus)
664ifeq ($(SHAREDLIB),no)
665ifeq ($(PLAYBACK_IP_SUPPORT),y)
666BSETTOP_LDFLAGS += $(NEXUS_TOP)/bin${NEXUS_BIN_DIR_SUFFIX}/libb_playback_ip.${BLIB_EXT}
667endif
668ifeq ($(DTCP_IP_SUPPORT),y)
669BSETTOP_LDFLAGS += $(NEXUS_TOP)/bin${NEXUS_BIN_DIR_SUFFIX}/libb_dtcp_ip.${BLIB_EXT}
670endif
671BSETTOP_LDFLAGS += $(NEXUS_TOP)/bin${NEXUS_BIN_DIR_SUFFIX}/libnexus.${BLIB_EXT} $(NEXUS_TOP)/bin/libb_os.${BLIB_EXT}
672else
673ifneq (${SYSTEM},vxworks)
674BSETTOP_LDFLAGS += -L$(NEXUS_TOP)/bin${NEXUS_BIN_DIR_SUFFIX} -lnexus -lb_os
675ifeq ($(PLAYBACK_IP_SUPPORT),y)
676BSETTOP_LDFLAGS += -lb_playback_ip
677endif
678ifeq ($(DTCP_IP_SUPPORT),y)
679BSETTOP_LDFLAGS += -lb_dtcp_ip
680endif
681ifeq ($(SOFT_GFX_SUPPORT),y)
682BSETTOP_LDFLAGS += -lb_softgfx
683endif #SOFT_GFX_SUPPORT
684endif
685endif
686BSETTOP_LIBS += ${NEXUS_TOP}/bin${NEXUS_BIN_DIR_SUFFIX}/libnexus.${BLIB_EXT} ${NEXUS_TOP}/bin${NEXUS_BIN_DIR_SUFFIX}/libb_os.${BLIB_EXT}
687ifeq ($(PLAYBACK_IP_SUPPORT),y)
688BSETTOP_LIBS += ${NEXUS_TOP}/bin${NEXUS_BIN_DIR_SUFFIX}/libb_playback_ip.${BLIB_EXT}
689endif
690ifeq ($(DTCP_IP_SUPPORT),y)
691BSETTOP_LIBS += ${NEXUS_TOP}/bin${NEXUS_BIN_DIR_SUFFIX}/libb_dtcp_ip.${BLIB_EXT}
692endif
693ifeq ($(SOFT_GFX_SUPPORT),y)
694BSETTOP_LIBS += ${NEXUS_TOP}/bin${NEXUS_BIN_DIR_SUFFIX}/libb_softgfx.${BLIB_EXT}
695endif #SOFT_GFX_SUPPORT
696endif
697
698ifeq ($(BUILD_SYSTEM),nexus)
699ifeq ($(PLAYBACK_IP_SUPPORT),y)
700ifeq ($(LIVEMEDIA_SUPPORT),y)
701LIVEMEDIA_DIR = $(BSEAV)/lib/livemedia/live
702BSETTOP_LDFLAGS += ${LIVEMEDIA_DIR}/liveMedia/libliveMedia.a
703BSETTOP_LDFLAGS += ${LIVEMEDIA_DIR}/groupsock/libgroupsock.a
704BSETTOP_LDFLAGS += ${LIVEMEDIA_DIR}/UsageEnvironment/libUsageEnvironment.a
705BSETTOP_LDFLAGS += ${LIVEMEDIA_DIR}/BasicUsageEnvironment/libBasicUsageEnvironment.a
706BSETTOP_LDFLAGS += ${LIVEMEDIA_DIR}/../blive_ext/lib/${ARCH}.$(DEBUG_SUFFIX)/libblive_ext.a
707endif #LIVEMEDIA
708ifeq ($(SSL_SUPPORT),y)
709BSETTOP_LDFLAGS += -L$(OPENSSL_DIR) -lssl -lcrypto -ldl
710endif #SSL_SUPPORT
711endif #PB_IP
712endif #nexu
Note: See TracBrowser for help on using the repository browser.