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

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

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

  • Property svn:executable set to *
File size: 5.7 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.common $
11# $brcm_Revision: 20 $
12# $brcm_Date: 5/7/08 10:53a $
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.common $
21#
22# 20   5/7/08 10:53a vsilyaev
23# PR 42470: Added missing vpath entry
24#
25# 19   5/6/08 12:47p vsilyaev
26# PR 42470: Decoupled BTRC and BPROFILE (BTRC could be used without
27# BPROFILE) and made BTRC macros avaliable all the time
28#
29# 18   7/9/07 1:32p erickson
30# PR32377: remove rule to build thunk layer
31#
32# 17   2/2/07 11:33a rjlewis
33# PR27577: only include profile if support requested.
34#
35# 16   12/15/06 6:27p vsilyaev
36# PR 26656: Added BPRofile support
37#
38# 15   11/17/06 10:43a erickson
39# PR25230: move bcmplayer from SetTop/bcmplayer to BSEAV/lib/bcmplayer.
40# Remove SetTop from Brutus/Settop API build.
41#
42# 14   4/19/06 12:12p jgarrett
43# PR 20139: Removing -g, breaks kernel mode driver.
44#
45# 13   4/17/06 5:06p jgarrett
46# PR 20951: Merging skinned UI into mainline.
47#
48# SanDiego_Brutus_Skin/1   3/21/06 10:28a tokushig
49# removed -O2 and add -g compilation flags for debugger support
50#
51# 11   8/4/05 4:41p erickson
52# PR15139: collected generic build configuration into
53# BSEAV/build/refsw_inc.mak
54#
55# 10   5/24/05 5:33p vsilyaev
56# PR 13873: Merge OTFPVR code
57#
58# 9   4/22/05 3:08p erickson
59# PR14708: fix BCM_BOARD_STR for DOS
60#
61# 8   4/14/05 2:40p erickson
62# PR14696: added -Wuninitialized, but it can only be used in DEBUG=n
63# builds
64#
65# 7   4/8/05 6:03p vsilyaev
66# PR 14735: Use DEBUG flags exported from the api.mak
67#
68# 6   4/8/05 5:52p erickson
69# PR14708: fix for DOS build
70#
71# 5   3/24/05 12:53p vsilyaev
72# PR 14593: 93560 support
73#
74# Refsw_93560_Bringup/1   3/22/05 2:41p vsilyaev
75# Added string version of board  number.
76#
77# 3   2/24/05 5:53p bandrews
78# PR14180: Added inclusion of magnum/basemodules/reg includes for
79# bcmplayer endianness
80#
81# 2   2/17/05 1:51p erickson
82# PR9497: make vxworks-friendly
83#
84# 1   2/7/05 6:54p dlwin
85# Merge down for release 2005_REFSW_MERGETOMAIN:
86#
87# Irvine_BSEAVSW_Devel/50   1/28/05 12:01p erickson
88# PR13908: fixed comment
89#
90# Irvine_BSEAVSW_Devel/49   1/28/05 11:13a erickson
91# PR13908: refactor to make external include of Makefile.core correct
92#
93# Irvine_BSEAVSW_Devel/48   1/26/05 11:24a erickson
94# PR13908: removed unnecessary code
95#
96# Irvine_BSEAVSW_Devel/47   1/25/05 5:11p erickson
97# PR13908: Settop API makefile rework
98#
99# Irvine_BSEAVSW_Devel/46   1/14/05 1:41p biyongc
100# PR2807: BSE PR - '-pipe' option doesn't work for certain version of
101# VxWorks compiler.
102#
103# Irvine_BSEAVSW_Devel/45   1/13/05 4:26p vsilyaev
104# PR 13823: Added support for 97398 board.
105#
106# Irvine_BSEAVSW_Devel/44   12/27/04 4:15p marcusk
107# PR13676: Remove hack from makefile for PAL support as proper solution
108# is integrated in bsettop_decode.c
109#
110# Irvine_BSEAVSW_Devel/43   12/27/04 9:51a marcusk
111# PR13650: Added PAL_DECODE option to pass in -DPAL_DECODE during
112# compile.
113#
114# Irvine_BSEAVSW_Devel/42   11/3/04 11:28a vsilyaev
115# PR 13097: Added support for 97395 board.
116#
117# Irvine_BSEAVSW_Devel/41   10/26/04 9:38a erickson
118# PR12728: don't use -pedantic for linux kernel mode
119#
120# Irvine_BSEAVSW_Devel/BESOTFPVR/1   11/15/04 8:43p vsilyaev
121# Added otfpvr into the include path.
122#
123# Irvine_BSEAVSW_Devel/40   9/27/04 10:02a dlwin
124# PR 12728: Disable pedantic for legacy platforms.
125#
126# Irvine_BSEAVSW_Devel/39   9/21/04 3:24p erickson
127# PR12728: added -pedantic in preparation for -pedantic-errors
128#
129# Irvine_BSEAVSW_Devel/38   8/27/04 3:25p erickson
130# PR12476: remove depracated -mcpu=r4600 option
131#
132# Irvine_BSEAVSW_Devel/37   8/27/04 12:45p erickson
133# PR12476: added uclibc version check to bsettop_init for linux
134#
135# Irvine_BSEAVSW_Devel/36   8/23/04 4:27p erickson
136# PR11135: include/${SYSTEM} always precedes include
137#
138# Irvine_BSEAVSW_Devel/35   7/27/04 3:44p erickson
139# PR11643: added -DLINUX for linux user mode
140#
141# Irvine_BSEAVSW_Devel/34   5/17/04 11:11a erickson
142# PR11135: added bsettop_display_common.c
143#
144# Irvine_BSEAVSW_Devel/33   5/12/04 10:23a erickson
145# PR10967: added standard header
146############################################################
147
148#
149# Makefile.common is included by all BUILD_SYSTEM/Makefile.core's.
150# You should not include it directly in any external app.
151#
152
153BSETTOP = $(BSEAV)/api
154
155include $(BSEAV)/api/include/api.mak
156include $(BSEAV)/api/build/tools.mak
157
158vpath %.c ${BSETTOP}/src
159
160ODIR = $(BSETTOP_BIN)
161
162#
163# standard defines
164#
165CFLAGS += -Wall
166CFLAGS += -I$(BSETTOP)/src
167# This is needed even if you don't have PVR support
168# 20050224 bandrews - Added magnum/basemodules/reg for legacy builds now that
169# bcmplayer requires the endianness header from there.  This may not be the
170# right spot to put this.
171CFLAGS += -I$(BSEAV)/lib/bcmplayer/include -I$(SETTOP)/../magnum/basemodules/reg
172CFLAGS += -I${BSEAV}/lib/otfpvr/
173CFLAGS += ${BSETTOP_CFLAGS}
174
175ifeq ($(SYSTEM),vxworks)
176ifneq ($(vxWorksVersion),6)
177CFLAGS += -DBCM_BOARD_STR="""$(BCM_BOARD_NO)"""
178else
179CFLAGS += -DBCM_BOARD_STR=\"$(BCM_BOARD_NO)\"
180endif
181else
182CFLAGS += -DBCM_BOARD_STR=\"$(BCM_BOARD_NO)\"
183endif
184
185ifeq ($(BPROFILE_SUPPORT),y)
186vpath %.c  ${BSEAV}/lib/bprofile
187CFLAGS += -I${BSEAV}/lib/bprofile -I${BSEAV}/lib/utils
188SRCS += bsymtable.c
189SRCS += bprofile.c bprofile_data.c btrc.c bperf_counter.c
190else
191ifeq ($(BTRC_SUPPORT),y)
192vpath %.c  ${BSEAV}/lib/bprofile
193CFLAGS += -I${BSEAV}/lib/bprofile  -DB_HAS_TRC=1
194SRCS += btrc.c bperf_counter.c
195endif
196endif
197
198
199
200
Note: See TracBrowser for help on using the repository browser.