source: svn/newcon3bcm2_21bu/BSEAV/api/build/proxy/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: 7.6 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: 29 $
12# $brcm_Date: 2/7/08 5:58p $
13#
14# Module Description:
15#
16# Revision History:
17#
18# Created: 02/09/2001 by Marcus Kellerman
19#
20# $brcm_Log: /BSEAV/api/build/proxy/Makefile.core $
21#
22# 29   2/7/08 5:58p jrubio
23# PR39415: add 7325 kernelmode suport
24#
25# 28   1/3/08 2:02p mphillip
26# PR35854: Merge p3d changes
27#
28# 27   12/10/07 6:42p mward
29# PR38078: Create PLATFORM for 97018, 97018RNG
30#
31# 26   11/26/07 12:18p katrep
32# PR37217: Added 97335 platfrom
33#
34# 25   11/14/07 10:24a gmohile
35# PR 25109 : Default unified itb on for 7401
36#
37# PR35854/2   12/18/07 7:44p mphillip
38# PR35854: Remove p3d user-space BCHP
39#
40# PR35854/1   12/3/07 6:35p mphillip
41# PR35854: Update build for kernel-mode 3d
42#
43# 24   8/29/07 5:58p mward
44# PR31736:  Now default on UNIFIED_ITB_SUPPORT for 97400. (correct
45# comment)
46#
47# 23   8/29/07 12:11p mward
48# PR31736:  Now default on UNIFIED_ITB_SUPPORT for 97400.
49#
50# 22   8/21/07 6:23p mward
51# PR31736:  Pass through UNIFIED_ITB_SUPPORT for 97400 development,
52# default off.
53#
54# 21   8/13/07 6:34p mward
55# PR32434: Default UNIFIED_ITB_SUPPORT for 97118[RNG] again, working now.
56#
57# 20   8/8/07 6:07p mward
58# PR32434: Default UNIFIED_ITB_SUPPORT for 97118[RNG] off, audio
59# problems.
60#
61# 19   8/8/07 10:48a ayxiang
62# PR33836: add B_CONFIG_IMAGE support for 97458
63#
64# 18   8/6/07 12:32p mward
65# PR32434: Default UNIFIED_ITB_SUPPORT for 97118[RNG]
66#
67# 17   8/2/07 12:25p mward
68# PR32537:  Pass through UNIFIED_ITB_SUPPORT for 97118[RNG] development.
69#
70# 16   7/20/07 8:35p katrep
71# PR27643: Updated for 7405
72#
73# 15   7/20/07 11:51a katrep
74# PR27643: Add B_CONFIG_IMAGE support for 7405
75#
76# 14   7/17/07 3:10p gmohile
77# PR 33056: Add B_CONFIG_IMAGE support for 7403
78#
79# 13   7/6/07 10:21a prasadv
80# PR32537, PR32809: Add B_CONFIG_IMAGE support for  97455 and 97456
81#
82# 12   6/27/07 5:07p mward
83# PR32537: Add B_CONFIG_IMAGE support for  97118[RNG].
84#
85# 11   6/14/07 4:00p ahulse
86# PR23100: B_CONFIG_IMAGE support for 7400
87#
88# 10   6/12/07 3:00p ahulse
89# PR23100: B_CONFIG_IMAGE support for 7401
90#
91# 9   1/11/07 2:32p jgarrett
92# PR 27004: Adding transition.inc
93#
94# 8   9/6/06 5:04p vsilyaev
95# PR 24124: Added framework to detect stack overflow
96#
97# 7   8/10/06 2:49p jgarrett
98# PR 23016: Merging new linuxkernel KNI to main branch.
99#
100# PR23016/1   8/3/06 1:15p jgarrett
101# PR 23016: Adding bsettop_syslog.c
102#
103# 6   3/15/06 4:51p vsilyaev
104# PR20221: NetIF DMA interface
105#
106# 5   11/1/05 7:07p vsilyaev
107# PR 17883: Use image for the raptor audio
108#
109# 4   10/31/05 6:13p vsilyaev
110# PR 17883: Added image interface to the 97398 platform
111#
112# 3   9/15/05 11:34a erickson
113# PR17148: added new required basemodules
114#
115# 2   3/10/05 3:57p mphillip
116# PR14402: Catch the proxy build up by moving compose into the toplevel
117# makefile
118#
119# 1   2/7/05 6:57p dlwin
120# Merge down for release 2005_REFSW_MERGETOMAIN:
121#
122# Irvine_BSEAVSW_Devel/6   1/28/05 11:13a erickson
123# PR13908: refactor to make external include of Makefile.core correct
124#
125# Irvine_BSEAVSW_Devel/5   1/25/05 5:12p erickson
126# PR13908: Settop API makefile rework
127#
128# Irvine_BSEAVSW_Devel/4   11/24/04 5:29p vsilyaev
129# PR13165: Interface for the timer module.
130#
131# Irvine_BSEAVSW_Devel/3   7/6/04 3:56p erickson
132# PR11771: settop api dataflow redesign
133#
134# Irvine_BSEAVSW_Devel/2   6/16/04 5:16p erickson
135# PR11135: added callback support
136#
137# Irvine_BSEAVSW_Devel/1   5/17/04 11:14a erickson
138# PR11135: added initial linux proxy impl
139#
140# Irvine_BSEAVSW_Devel/16   5/12/04 10:23a erickson
141# PR10967: added standard header
142############################################################
143
144include $(BSEAV)/api/build/Makefile.common
145
146BUILD_SYSTEM=proxy
147OS = linuxuser
148
149CFLAGS += -I$(BSETTOP)/src/proxy
150CFLAGS += -I$(BSETTOP)/build/proxy
151CFLAGS += -I$(BSETTOP)/src/pvr
152
153vpath %.c $(BSETTOP)/src/proxy
154vpath %.c $(BSETTOP)/build/proxy
155
156OBJ =
157ROCKFORD := ${MAGNUM}/../rockford
158include $(ROCKFORD)/modules/basemodules.inc
159CFLAGS += -I$(MAGNUM)/basemodules/chp
160CFLAGS += -I$(MAGNUM)/basemodules/reg
161CFLAGS += -DB_SYSTEM_proxy=1
162
163
164ifeq (${SYSTEM}, linux)
165SRCS += \
166        bsettop_base_mem.c \
167        bsettop_core.c \
168        bsettop_core_stackguard.c \
169        bsettop_linux.c \
170        bsettop_priv.c \
171        bsettop_timer.c \
172        bsettop_kernelproxy.c \
173        bsettop_base.c \
174        bsettop_syslog.c
175endif
176
177
178ifeq (${PLATFORM}, 97398)
179BCHP_XVD_CHIP := 7411
180SRCS +=  \
181        bsettop_image.c
182
183include  $(ROCKFORD)/modules/${BCHP_XVD_CHIP}_img.inc
184include  $(ROCKFORD)/modules/${BCHP_XVD_CHIP}/rap_img.inc
185include  $(ROCKFORD)/modules/img.inc
186
187CFLAGS += -I${BSEAV}/linux/driver/97038 -DB_CONFIG_IMAGE=1
188
189endif
190
191ifeq ($(findstring $(PLATFORM),97400 97401 97403 97405 97335 97325 97018 97018RNG 97118 97118RNG 97455 97456 97458), $(PLATFORM))
192
193BCHP_VER_LOWER ?= $(shell awk 'BEGIN{print tolower("$(BCHP_VER)")}')
194
195ifeq ($(findstring $(PLATFORM),97401 97455), $(PLATFORM))
196BCHP_CHIP ?= 7401
197BCHP_XVD_CHIP := 7401
198ifneq ($(subst N,n,${UNIFIED_ITB_SUPPORT}),n)
199CFLAGS += -DUNIFIED_ITB_SUPPORT
200UNIFIED_ITB_SUPPORT := y
201endif
202endif
203ifeq ($(findstring $(PLATFORM),97403, 97458), $(PLATFORM))
204BCHP_CHIP ?= 7403
205BCHP_XVD_CHIP := 7403
206endif
207ifeq ($(findstring $(PLATFORM),97405), $(PLATFORM))
208BCHP_CHIP ?= 7405
209BCHP_XVD_CHIP := 7405
210endif
211ifeq ($(findstring $(PLATFORM),97335), $(PLATFORM))
212BCHP_CHIP ?= 7335
213BCHP_XVD_CHIP := 7335
214endif
215ifeq ($(findstring $(PLATFORM),97325), $(PLATFORM))
216BCHP_CHIP ?= 7325
217BCHP_XVD_CHIP := 7325
218endif
219ifeq ($(findstring $(PLATFORM),97018 97018RNG 97118 97118RNG), $(PLATFORM))
220BCHP_CHIP ?= 7118
221BCHP_XVD_CHIP := 7118
222# RAVE unified ITB support. (default on)
223ifneq ($(subst N,n,${UNIFIED_ITB_SUPPORT}),n)
224CFLAGS += -DUNIFIED_ITB_SUPPORT
225UNIFIED_ITB_SUPPORT := y
226endif
227endif
228ifeq ($(findstring $(PLATFORM),97400 97456), $(PLATFORM))
229BCHP_CHIP ?= 7400
230# RAVE unified ITB support. (default on)
231ifneq ($(subst N,n,${UNIFIED_ITB_SUPPORT}),n)
232CFLAGS += -DUNIFIED_ITB_SUPPORT
233UNIFIED_ITB_SUPPORT := y
234endif
235endif
236
237SRCS +=  \
238    bsettop_image.c
239
240BRAP_IMG_ONLY := y
241BXVD_IMG_ONLY := y
242
243include ${MAGNUM}/portinginterface/rap/brap.inc
244include ${MAGNUM}/portinginterface/xvd/bxvd.inc
245
246CFLAGS += -I${BSEAV}/linux/driver/97038 -DB_CONFIG_IMAGE=1
247CFLAGS += -I$(MAGNUM)/commonutils/img
248
249ifeq ($(B_GLES_SUPPORT),y)
250include ${MAGNUM}/portinginterface/p3d/bp3d.inc
251
252CFLAGS += -I$(MAGNUM)/basemodules/mem
253CFLAGS += -I$(MAGNUM)/basemodules/int
254CFLAGS += -I$(MAGNUM)/basemodules/chp/${BCHP_CHIP}
255CFLAGS += -I$(MAGNUM)/basemodules/chp/${BCHP_CHIP}/rdb/c0
256CFLAGS += -I$(MAGNUM)/commonutils/sur/${BCHP_CHIP}
257CFLAGS += -I$(MAGNUM)/commonutils/pxl/
258CFLAGS += -I$(MAGNUM)/portinginterface/grc/${BCHP_CHIP}
259include $(ROCKFORD)/modules/opengles.inc
260include $(ROCKFORD)/middleware/opengles/linux/opengles.inc
261
262include $(MAGNUM)/commonutils/pxl/bpxl.inc
263include $(MAGNUM)/commonutils/sur/bsur.inc
264
265include $(MAGNUM)/basemodules/mem/bmem.inc
266include $(MAGNUM)/basemodules/reg/breg.inc
267include $(MAGNUM)/portinginterface/grc/bgrc.inc
268
269CFLAGS += -I$(MAGNUM)/basemodules/tmr/${BCHP_CHIP}
270include $(MAGNUM)/basemodules/tmr/btmr.inc
271include $(MAGNUM)/basemodules/int/bint.inc
272endif
273
274endif
275
276# Include transition.inc file at the end of the build
277# Do not fail on this, it should be harmless on older builds
278ifeq ($(wildcard $(ROCKFORD)/modules/transition.inc),)
279$(warning $(ROCKFORD)/modules/transition.inc is missing.  This may cause problems in your build.)
280else
281include $(ROCKFORD)/modules/transition.inc
282endif
283
Note: See TracBrowser for help on using the repository browser.