| 1 | ############################################################ |
|---|
| 2 | # (c)2003-2011 Broadcom Corporation |
|---|
| 3 | # |
|---|
| 4 | # This program is the proprietary software of Broadcom Corporation and/or its licensors, |
|---|
| 5 | # and may only be used, duplicated, modified or distributed pursuant to the terms and |
|---|
| 6 | # conditions of a separate, written license agreement executed between you and Broadcom |
|---|
| 7 | # (an "Authorized License"). Except as set forth in an Authorized License, Broadcom grants |
|---|
| 8 | # no license (express or implied), right to use, or waiver of any kind with respect to the |
|---|
| 9 | # Software, and Broadcom expressly reserves all rights in and to the Software and all |
|---|
| 10 | # intellectual property rights therein. IF YOU HAVE NO AUTHORIZED LICENSE, THEN YOU |
|---|
| 11 | # HAVE NO RIGHT TO USE THIS SOFTWARE IN ANY WAY, AND SHOULD IMMEDIATELY |
|---|
| 12 | # NOTIFY BROADCOM AND DISCONTINUE ALL USE OF THE SOFTWARE. |
|---|
| 13 | # |
|---|
| 14 | # Except as expressly set forth in the Authorized License, |
|---|
| 15 | # |
|---|
| 16 | # 1. This program, including its structure, sequence and organization, constitutes the valuable trade |
|---|
| 17 | # secrets of Broadcom, and you shall use all reasonable efforts to protect the confidentiality thereof, |
|---|
| 18 | # and to use this information only in connection with your use of Broadcom integrated circuit products. |
|---|
| 19 | # |
|---|
| 20 | # 2. TO THE MAXIMUM EXTENT PERMITTED BY LAW, THE SOFTWARE IS PROVIDED "AS IS" |
|---|
| 21 | # AND WITH ALL FAULTS AND BROADCOM MAKES NO PROMISES, REPRESENTATIONS OR |
|---|
| 22 | # WARRANTIES, EITHER EXPRESS, IMPLIED, STATUTORY, OR OTHERWISE, WITH RESPECT TO |
|---|
| 23 | # THE SOFTWARE. BROADCOM SPECIFICALLY DISCLAIMS ANY AND ALL IMPLIED WARRANTIES |
|---|
| 24 | # OF TITLE, MERCHANTABILITY, NONINFRINGEMENT, FITNESS FOR A PARTICULAR PURPOSE, |
|---|
| 25 | # LACK OF VIRUSES, ACCURACY OR COMPLETENESS, QUIET ENJOYMENT, QUIET POSSESSION |
|---|
| 26 | # OR CORRESPONDENCE TO DESCRIPTION. YOU ASSUME THE ENTIRE RISK ARISING OUT OF |
|---|
| 27 | # USE OR PERFORMANCE OF THE SOFTWARE. |
|---|
| 28 | # |
|---|
| 29 | # 3. TO THE MAXIMUM EXTENT PERMITTED BY LAW, IN NO EVENT SHALL BROADCOM OR ITS |
|---|
| 30 | # LICENSORS BE LIABLE FOR (i) CONSEQUENTIAL, INCIDENTAL, SPECIAL, INDIRECT, OR |
|---|
| 31 | # EXEMPLARY DAMAGES WHATSOEVER ARISING OUT OF OR IN ANY WAY RELATING TO YOUR |
|---|
| 32 | # USE OF OR INABILITY TO USE THE SOFTWARE EVEN IF BROADCOM HAS BEEN ADVISED OF |
|---|
| 33 | # THE POSSIBILITY OF SUCH DAMAGES; OR (ii) ANY AMOUNT IN EXCESS OF THE AMOUNT |
|---|
| 34 | # ACTUALLY PAID FOR THE SOFTWARE ITSELF OR U.S. $1, WHICHEVER IS GREATER. THESE |
|---|
| 35 | # LIMITATIONS SHALL APPLY NOTWITHSTANDING ANY FAILURE OF ESSENTIAL PURPOSE OF |
|---|
| 36 | # ANY LIMITED REMEDY. |
|---|
| 37 | # |
|---|
| 38 | # $brcm_Workfile: platform.inc $ |
|---|
| 39 | # $brcm_Revision: 176 $ |
|---|
| 40 | # $brcm_Date: 12/18/11 6:44p $ |
|---|
| 41 | # |
|---|
| 42 | # Module Description: |
|---|
| 43 | # |
|---|
| 44 | # Revision History: |
|---|
| 45 | # |
|---|
| 46 | # $brcm_Log: /nexus/platforms/97400/build/platform.inc $ |
|---|
| 47 | # |
|---|
| 48 | # 176 12/18/11 6:44p prasadv |
|---|
| 49 | # SW3128-56: Clean up. Remove 3124 support. Auto detection has been added |
|---|
| 50 | # to take care of 312x. |
|---|
| 51 | # |
|---|
| 52 | # 175 12/1/11 4:13p mphillip |
|---|
| 53 | # SW7425-1304: Change 4528 to HAB |
|---|
| 54 | # |
|---|
| 55 | # 174 11/9/11 1:38p erickson |
|---|
| 56 | # SW7420-1148: NEXUS_SYNCTHUNK_DIR |
|---|
| 57 | # |
|---|
| 58 | # 173 11/8/11 6:06p jgarrett |
|---|
| 59 | # SW7422-400: Adding audio debug log support in kernel mode |
|---|
| 60 | # |
|---|
| 61 | # 172 11/7/11 4:00p bandrews |
|---|
| 62 | # SW7231-446: merge to main |
|---|
| 63 | # |
|---|
| 64 | # SW7231-446/1 11/4/11 10:13p bandrews |
|---|
| 65 | # SW7231-446: remove legacy defines |
|---|
| 66 | # |
|---|
| 67 | # 171 11/3/11 3:14p bandrews |
|---|
| 68 | # SW7231-391: default enum index reversion macros to on until problems |
|---|
| 69 | # are cleared up elsewhere |
|---|
| 70 | # |
|---|
| 71 | # 170 10/31/11 7:06p bandrews |
|---|
| 72 | # SW7231-391: merge to main |
|---|
| 73 | # |
|---|
| 74 | # SW7420-2078/1 10/25/11 7:27p bandrews |
|---|
| 75 | # SW7231-409: added compile flags for legacy parser band and timebase |
|---|
| 76 | # enum usage |
|---|
| 77 | # |
|---|
| 78 | # 169 10/31/11 4:38p mward |
|---|
| 79 | # SW7435-7: Add 97435. |
|---|
| 80 | # |
|---|
| 81 | # 168 10/25/11 3:35p mward |
|---|
| 82 | # SW7346-517: don't use kbuild for linux 2.6.18 |
|---|
| 83 | # |
|---|
| 84 | # 167 10/21/11 4:51p erickson |
|---|
| 85 | # SW7346-517: use kbuild for nexus.ko |
|---|
| 86 | # |
|---|
| 87 | # 166 10/17/11 7:24p prasadv |
|---|
| 88 | # SW3128-56: Add 3124 Support |
|---|
| 89 | # |
|---|
| 90 | # 165 10/12/11 3:06p khat |
|---|
| 91 | # SWNOOS-486: Define DIAGS and DIAGS_MEM_DMA_TEST module |
|---|
| 92 | # |
|---|
| 93 | # 164 10/6/11 4:54p randyjew |
|---|
| 94 | # SW7344-198: Add NEXUS_PLATFORM_7344SV for 4506 support |
|---|
| 95 | # |
|---|
| 96 | # 163 10/3/11 11:02a randyjew |
|---|
| 97 | # SW7344-104: Disable Power Mangement default for 7344/7418/7346 |
|---|
| 98 | # |
|---|
| 99 | # 162 9/15/11 2:07p ttrammel |
|---|
| 100 | # SW7425-1294: Add missing libgcc file to NFE build. |
|---|
| 101 | # |
|---|
| 102 | # 161 9/2/11 12:39p erickson |
|---|
| 103 | # SW7420-1148: move NEXUS_SERVER_SUPPORT to nexus_defs.inc for general |
|---|
| 104 | # use |
|---|
| 105 | # |
|---|
| 106 | # 160 8/24/11 6:44p randyjew |
|---|
| 107 | # SW7468-6: 7208 default to Power Management Disable |
|---|
| 108 | # |
|---|
| 109 | # 159 8/24/11 5:07p randyjew |
|---|
| 110 | # SW7344-140: Adding 7418SFF_H Platform |
|---|
| 111 | # |
|---|
| 112 | # 158 8/18/11 2:25p mward |
|---|
| 113 | # SW7420-1123: Don't force GL_SUPPORT=n if NEXUS_SERVER_SUPPORT=y, since |
|---|
| 114 | # that setting defaults on. |
|---|
| 115 | # |
|---|
| 116 | # 157 8/17/11 5:12p bselva |
|---|
| 117 | # SW7358-92: Add the changes required for HDI port |
|---|
| 118 | # |
|---|
| 119 | # 156 8/15/11 11:27a mward |
|---|
| 120 | # SW7420-1123: GL_SUPPORT (3D via PX3D) is not supported in usermode |
|---|
| 121 | # multiprocess. Force GL_SUPPORT=n for NEXUS_MODE=client, and if |
|---|
| 122 | # NEXUS_SERVER_SUPPORT=y. |
|---|
| 123 | # |
|---|
| 124 | # 155 8/3/11 5:33p vsilyaev |
|---|
| 125 | # SW7420-1465, SW7405-5221: Route debug output to the special FIFO |
|---|
| 126 | # instead of syslog buffer |
|---|
| 127 | # |
|---|
| 128 | # 154 7/22/11 9:52a agin |
|---|
| 129 | # SWNOOS-473: Add no_os. |
|---|
| 130 | # |
|---|
| 131 | # 153 6/22/11 7:09p nickh |
|---|
| 132 | # SW7425-533: Disable Power management for 7425 until its confirmed to be |
|---|
| 133 | # working |
|---|
| 134 | # |
|---|
| 135 | # 152 6/20/11 5:41p jgarrett |
|---|
| 136 | # SW7425-409: Merging VP6 support to main branch |
|---|
| 137 | # |
|---|
| 138 | # 151 6/20/11 1:03p randyjew |
|---|
| 139 | # SW7344-104: Add for 7344/7346 PM 2.0 |
|---|
| 140 | # |
|---|
| 141 | # 150 6/20/11 2:12p jhaberf |
|---|
| 142 | # SWDTV-6551: Force ISDBT to be built for the 35233 |
|---|
| 143 | # |
|---|
| 144 | # 149 6/17/11 1:44p jhaberf |
|---|
| 145 | # SWDTV-7435: adoption of Power Management 2.0 for the 35233 |
|---|
| 146 | # |
|---|
| 147 | # 148 6/13/11 12:18p spothana |
|---|
| 148 | # SW7425-622:Add simul usage of BCM3128 and DOCSIS tuners. |
|---|
| 149 | # |
|---|
| 150 | # 147 6/9/11 7:21p nickh |
|---|
| 151 | # SW7425-533: Enable Power Management for 7425 |
|---|
| 152 | # |
|---|
| 153 | # SW7425-409/1 6/6/11 7:16p jgarrett |
|---|
| 154 | # SW7425-409: Adding DSP video decoder extensions for VDE |
|---|
| 155 | # |
|---|
| 156 | # 146 6/6/11 3:35p ttrammel |
|---|
| 157 | # SW7420-1819: Remove Linux references and fix changed file paths. |
|---|
| 158 | # |
|---|
| 159 | # 145 6/6/11 11:05a ttrammel |
|---|
| 160 | # SW7420-1819: Update NEXUS/pi for NFE 2.0. |
|---|
| 161 | # |
|---|
| 162 | # 144 6/2/11 9:51a erickson |
|---|
| 163 | # SW7550-284: fix NEXUS_BASE_ONLY |
|---|
| 164 | # |
|---|
| 165 | # 143 6/1/11 5:31p erickson |
|---|
| 166 | # SW7550-284: fix NEXUS_BASE_ONLY |
|---|
| 167 | # |
|---|
| 168 | # 142 5/31/11 7:31p randyjew |
|---|
| 169 | # SW7208-158: Add 97208 to nexus pwr |
|---|
| 170 | # |
|---|
| 171 | # 141 5/24/11 3:22p gmohile |
|---|
| 172 | # SW7231-128 : Enable Power management for 7231 |
|---|
| 173 | # |
|---|
| 174 | # SW7231-128/2 5/20/11 12:11p gmohile |
|---|
| 175 | # SW7231-128 : Enable power management for 7231 |
|---|
| 176 | # |
|---|
| 177 | # SW7231-128/1 5/20/11 12:07p gmohile |
|---|
| 178 | # SW7231-128 : Enable power management for 7231 |
|---|
| 179 | # |
|---|
| 180 | # 140 5/17/11 12:02p jhaberf |
|---|
| 181 | # SWDTV-6928: Merge of 35233 platform code to the main |
|---|
| 182 | # |
|---|
| 183 | # 139 5/12/11 1:15p erickson |
|---|
| 184 | # SW7420-1819: fix OS=linuxkernel with no MODE=driver |
|---|
| 185 | # |
|---|
| 186 | # 138 5/3/11 5:08p erickson |
|---|
| 187 | # SW7420-1819: repartition so NFE is a standard feature |
|---|
| 188 | # |
|---|
| 189 | # 137 4/18/11 10:47a spothana |
|---|
| 190 | # SW7425-369: Add NEXUS_DOCSIS_OOB_SUPPORT and NEXUS_DOCSIS_IB_SUPPORT |
|---|
| 191 | # |
|---|
| 192 | # 136 4/12/11 2:37p erickson |
|---|
| 193 | # SW7420-1123: fix |
|---|
| 194 | # |
|---|
| 195 | # 135 4/12/11 2:22p erickson |
|---|
| 196 | # SW7420-1123: only default NEXUS_SERVER_SUPPORT=y for usermode |
|---|
| 197 | # |
|---|
| 198 | # 134 4/11/11 12:04p erickson |
|---|
| 199 | # SW7420-1123: default NEXUS_SERVER_SUPPORT=y |
|---|
| 200 | # |
|---|
| 201 | # 133 4/4/11 10:21a erickson |
|---|
| 202 | # SW7420-1671: add special nexus_driver.c dependency |
|---|
| 203 | # |
|---|
| 204 | # 132 4/1/11 9:59a erickson |
|---|
| 205 | # SW7420-1671: refactor object database for multiprocess stress |
|---|
| 206 | # |
|---|
| 207 | # 131 3/22/11 5:00p randyjew |
|---|
| 208 | # SW7344-35: Add btst_video_shmoo.c/.h to 7344a0 only |
|---|
| 209 | # |
|---|
| 210 | # 130 3/17/11 1:43p vishk |
|---|
| 211 | # SW7231-32: Implement the Nexus code to support the 3461 frontend chip |
|---|
| 212 | # |
|---|
| 213 | # 129 3/17/11 11:49a vsilyaev |
|---|
| 214 | # SW7422-216: Drive ZSP_VIDEO support from the RAP defines |
|---|
| 215 | # |
|---|
| 216 | # 128 3/16/11 1:38p VISHK |
|---|
| 217 | # SW7231-76: Add support for FBTSFF 97231 + 3128 board. |
|---|
| 218 | # |
|---|
| 219 | # 127 3/16/11 1:29p vishk |
|---|
| 220 | # SW7231-76: Add support for FBTSFF 97231 + 3128 board. |
|---|
| 221 | # |
|---|
| 222 | # 126 3/9/11 3:08p hongtaoz |
|---|
| 223 | # SW7422-171: compile 3128 only if the board supports it; |
|---|
| 224 | # |
|---|
| 225 | # 125 3/2/11 10:46a erickson |
|---|
| 226 | # SW7422-310: dynamic fake address mapping scheme using nexus_map.c |
|---|
| 227 | # |
|---|
| 228 | # 124 3/1/11 12:17p spothana |
|---|
| 229 | # SW7420-1550: Add NEXUS_ZORDER_PIP_SWAP |
|---|
| 230 | # |
|---|
| 231 | # 123 2/28/11 1:10p jessem |
|---|
| 232 | # SW7422-295: Added btst_video_shmoo.c/.h to 7422a0 only. |
|---|
| 233 | # |
|---|
| 234 | # 122 2/28/11 11:28a jessem |
|---|
| 235 | # SW7425-113: Added btst_video_shmoo.c/.h to 9752a0 build only. |
|---|
| 236 | # |
|---|
| 237 | # 121 2/25/11 2:52p gmohile |
|---|
| 238 | # SW7408-210 : Deprecate use of NEXUS_POWER_STANDBY |
|---|
| 239 | # |
|---|
| 240 | # 120 2/18/11 1:56p hongtaoz |
|---|
| 241 | # SW7425-9: merge the 7425 support; |
|---|
| 242 | # |
|---|
| 243 | # 119 2/17/11 10:38p nickh |
|---|
| 244 | # SW7422-10: Add 7422 and 7425 support |
|---|
| 245 | # |
|---|
| 246 | # 118 2/17/11 4:24p gmohile |
|---|
| 247 | # SW7408-210 : Merge PM 2.0 support to mainline |
|---|
| 248 | # |
|---|
| 249 | # 117 2/15/11 4:01p erickson |
|---|
| 250 | # SW7420-1491: support local functions in ipc client |
|---|
| 251 | # |
|---|
| 252 | # 116 2/15/11 3:24p erickson |
|---|
| 253 | # SW7420-1491: use attr{local=true} to get rid of code duplication |
|---|
| 254 | # |
|---|
| 255 | # 115 1/19/11 3:42p erickson |
|---|
| 256 | # SW7420-1123: prevent unsupported combination |
|---|
| 257 | # |
|---|
| 258 | # 114 1/19/11 2:03p erickson |
|---|
| 259 | # SW7420-1123: socket-based usermode IPC |
|---|
| 260 | # |
|---|
| 261 | # 113 1/19/11 3:19p xhuang |
|---|
| 262 | # SW7358-21: remove PCI for 7358/7552 |
|---|
| 263 | # |
|---|
| 264 | # 112 1/11/11 9:59a erickson |
|---|
| 265 | # SW7346-8: add NEXUS_PLATFORM_DIR |
|---|
| 266 | # |
|---|
| 267 | # 111 12/21/10 6:46p katrep |
|---|
| 268 | # SW7231-25:add support for 97230 |
|---|
| 269 | # |
|---|
| 270 | # 110 12/20/10 4:26p erickson |
|---|
| 271 | # SW7422-2: rework nexus_platform_core, add board-specific file and API, |
|---|
| 272 | # mmap after determining heaps |
|---|
| 273 | # |
|---|
| 274 | # 109 12/15/10 2:26p xhuang |
|---|
| 275 | # SW7358-21: Add 97358/97552 support |
|---|
| 276 | # |
|---|
| 277 | # 108 12/8/10 2:33p jrubio |
|---|
| 278 | # SW7344-9: add 7344/7346/7231 support |
|---|
| 279 | # |
|---|
| 280 | # 107 12/7/10 5:51p erickson |
|---|
| 281 | # SW7420-1148: refactor kernel mode proxy for process isolation |
|---|
| 282 | # |
|---|
| 283 | # 106 12/7/10 1:29p gmohile |
|---|
| 284 | # SW7408-190 : enable power management for 7408 |
|---|
| 285 | # |
|---|
| 286 | # 105 12/6/10 4:50p gmohile |
|---|
| 287 | # SW7408-190 : Temporarily disable power management for 7408 |
|---|
| 288 | # |
|---|
| 289 | # 104 12/6/10 2:08p gmohile |
|---|
| 290 | # SW7408-190 : Default power management on for 7408 |
|---|
| 291 | # |
|---|
| 292 | # 103 12/2/10 8:16p spothana |
|---|
| 293 | # SW7420-1177: Adding nexus hdmi dvo module. |
|---|
| 294 | # |
|---|
| 295 | # SW7420-1177/1 11/1/10 9:04p spothana |
|---|
| 296 | # SW7420-1177: Adding nexus hdmi dvo module. |
|---|
| 297 | # |
|---|
| 298 | # 102 10/26/10 11:33a jtna |
|---|
| 299 | # SW7420-887: added temp_monitor |
|---|
| 300 | # |
|---|
| 301 | # 101 10/21/10 4:08p erickson |
|---|
| 302 | # SW7420-1176: set NEXUS_PLATFORM_DEPENDENCIES using NEXUS_MODULES. this |
|---|
| 303 | # eliminates another customization point in the build system. |
|---|
| 304 | # |
|---|
| 305 | # 100 10/15/10 11:20a randyjew |
|---|
| 306 | # SW7468-112: Adding RAP_REALVIDEO_SUPPORT to turn on/off ZSP Video |
|---|
| 307 | # decoder builds. |
|---|
| 308 | # |
|---|
| 309 | # 99 10/7/10 5:24p nickh |
|---|
| 310 | # SW7422-10: Add cable and DBS environment variable support |
|---|
| 311 | # |
|---|
| 312 | # 98 9/29/10 2:13p erickson |
|---|
| 313 | # SW7420-1123: consolidate 3D support using GL_SUPPORT variable |
|---|
| 314 | # |
|---|
| 315 | # 97 9/29/10 10:53a erickson |
|---|
| 316 | # SW7420-1123: refactor platform_modules.inc so that it can fork per |
|---|
| 317 | # platform |
|---|
| 318 | # |
|---|
| 319 | # 96 9/28/10 5:09p hongtaoz |
|---|
| 320 | # SW7425-9: removed intmgr from nexus compile; |
|---|
| 321 | # |
|---|
| 322 | # 95 9/28/10 2:51p erickson |
|---|
| 323 | # SW7420-1123: add linux usermode IPC |
|---|
| 324 | # |
|---|
| 325 | # 94 9/24/10 3:32p jtna |
|---|
| 326 | # SW7420-887: added touchpad module |
|---|
| 327 | # |
|---|
| 328 | # 93 9/22/10 3:04p hongtaoz |
|---|
| 329 | # SW7425-9: adding nexus emu platform; |
|---|
| 330 | # |
|---|
| 331 | # 92 9/8/10 12:06p vsilyaev |
|---|
| 332 | # SW7468-129: Added video decoder on ZSP |
|---|
| 333 | # |
|---|
| 334 | # 91 8/12/10 1:18p ttrammel |
|---|
| 335 | # SW7420-943: Merge NFE to main branch. |
|---|
| 336 | # |
|---|
| 337 | # 90 8/11/10 6:23p mward |
|---|
| 338 | # SW7125-569: NEXUS_BASE_ONLY build must exclude |
|---|
| 339 | # nexus_platform_frontend_power_management.c. |
|---|
| 340 | # |
|---|
| 341 | # 89 8/4/10 4:57p spothana |
|---|
| 342 | # SW7420-886: Add 97410 UMA mode using 32 bit MEMC0 only |
|---|
| 343 | # |
|---|
| 344 | # 88 7/27/10 5:30p jgarrett |
|---|
| 345 | # SW7340-194: Removing warnings from kernel-mode 3rd party code |
|---|
| 346 | # |
|---|
| 347 | # 87 7/13/10 5:09p garetht |
|---|
| 348 | # SW7420-893: Cut release for 93380VMS Trinity Phase 4.1 |
|---|
| 349 | # |
|---|
| 350 | # 86 7/13/10 10:26a gskerl |
|---|
| 351 | # SW7125-237: Added 97019 97025 97119 and 97116 to the list of platforms |
|---|
| 352 | # that get nexus_platform_frontend_power_management.c |
|---|
| 353 | # |
|---|
| 354 | # 85 7/7/10 11:47a mward |
|---|
| 355 | # SW7400-2842: Add an option NEXUS_VIDEO_DECODER_SINGLEDECODE=y for XVD |
|---|
| 356 | # singledecode on 97400. |
|---|
| 357 | # |
|---|
| 358 | # 84 6/29/10 6:52p mward |
|---|
| 359 | # SW7125-497: For proper build without NEXUS_FRONTEND_PWM, build the |
|---|
| 360 | # nexus_platform_frontend_power_management.c but stub API functions. |
|---|
| 361 | # |
|---|
| 362 | # SW7125-35/2 6/29/10 6:42p mward |
|---|
| 363 | # SW7125-497: For proper build without NEXUS_FRONTEND_PWM, build the |
|---|
| 364 | # nexus_platform_frontend_power_management.c but stub API functions. |
|---|
| 365 | # |
|---|
| 366 | # SW7125-35/1 6/29/10 12:03p mward |
|---|
| 367 | # SW7125-497: add new files for frontend Power Management |
|---|
| 368 | # |
|---|
| 369 | # 83 6/28/10 5:23p ayxiang |
|---|
| 370 | # SW7125-497: add new files for frontend Power Management |
|---|
| 371 | # |
|---|
| 372 | # 82 6/28/10 12:04p mphillip |
|---|
| 373 | # SW7405-4091: Fix typo in 3d filename |
|---|
| 374 | # |
|---|
| 375 | # 81 6/28/10 11:49a mphillip |
|---|
| 376 | # SW7405-4091: Add new 3d file to platform.inc |
|---|
| 377 | # |
|---|
| 378 | # 80 6/11/10 3:36p mward |
|---|
| 379 | # SW7125-35: Eliminate the NEXUS_97125_HOST_3112 build option, always |
|---|
| 380 | # build 97125 with support for host control of BCM3112 QAM DS. Eliminate |
|---|
| 381 | # build option NEXUS_97125_BYPASS_3112. No longer needed. |
|---|
| 382 | # |
|---|
| 383 | # 79 6/9/10 4:13p prasadv |
|---|
| 384 | # SW7400-2546: Adding 97456 platform support. |
|---|
| 385 | # |
|---|
| 386 | # 78 5/29/10 3:57p gskerl |
|---|
| 387 | # SW7125-403: Started adding support for active standby for 7125 |
|---|
| 388 | # |
|---|
| 389 | # 77 5/11/10 5:36p randyjew |
|---|
| 390 | # SW7468-6:NEXUS_POWER_STANDBY default off on 7468/7208 |
|---|
| 391 | # |
|---|
| 392 | # 76 4/19/10 3:50p nickh |
|---|
| 393 | # SW7420-709: Add DBS and Cable frontend Platform environment variables |
|---|
| 394 | # |
|---|
| 395 | # 75 4/9/10 11:20a rjain |
|---|
| 396 | # SW7550-284: Add support for NEXUS_BASE_ONLY |
|---|
| 397 | # |
|---|
| 398 | # 74 4/8/10 6:41p nitinb |
|---|
| 399 | # SW7550-137: Merge from SW7550-137 branch |
|---|
| 400 | # |
|---|
| 401 | # 73 3/24/10 1:07p garetht |
|---|
| 402 | # SW7420-672: check-in 93380vms/sms Phase 4.0 Trinity |
|---|
| 403 | # |
|---|
| 404 | # 72 3/19/10 5:18p mward |
|---|
| 405 | # SW7405-3986: NEXUS_POWER_STANDBY default off on 7125 platforms. |
|---|
| 406 | # |
|---|
| 407 | # 71 3/19/10 10:08a erickson |
|---|
| 408 | # SW7405-3832: add NEXUS_PLATFORM define, deprecate PLATFORM |
|---|
| 409 | # |
|---|
| 410 | # 70 3/18/10 4:44p erickson |
|---|
| 411 | # SW7405-4060: remove NEXUS_NUM_ defines. platform.inc is only used |
|---|
| 412 | # internally, and NEXUS_NUM_ defines must match internally and |
|---|
| 413 | # externally. moved logic to nexus_platform_features.h. |
|---|
| 414 | # |
|---|
| 415 | # 69 3/17/10 5:22p gmohile |
|---|
| 416 | # SW7408-1 : Power Standby not supported on 7408 |
|---|
| 417 | # |
|---|
| 418 | # 68 3/11/10 7:43p ismailk |
|---|
| 419 | # SW7420-618: Don't include NEXUS_CONFIG_IMAGE for 93380sms proxy build. |
|---|
| 420 | # |
|---|
| 421 | # 67 3/11/10 2:38p jrubio |
|---|
| 422 | # SW7405-3986: STANDBY not supported by 7340/7342 |
|---|
| 423 | # |
|---|
| 424 | # 66 3/8/10 4:25p erickson |
|---|
| 425 | # SW7405-3986: rename macro to NEXUS_POWER_STANDBY |
|---|
| 426 | # |
|---|
| 427 | # 65 2/5/10 5:23p jgarrett |
|---|
| 428 | # SW7408-71: Adding kernel mode support |
|---|
| 429 | # |
|---|
| 430 | # 64 1/28/10 4:36p erickson |
|---|
| 431 | # SW7420-532: refactor nexus platform standby for linux 2.6.31 |
|---|
| 432 | # |
|---|
| 433 | # 63 1/19/10 3:14p nickh |
|---|
| 434 | # SW7420-331: Rename 97410c to 97410 |
|---|
| 435 | # |
|---|
| 436 | # 62 1/19/10 3:13p nickh |
|---|
| 437 | # SW7420-541: Rename 97420dvr2 to 97420 |
|---|
| 438 | # |
|---|
| 439 | # 61 12/20/09 7:10p randyjew |
|---|
| 440 | # SW7468-6:Disable PWR management for 7208 |
|---|
| 441 | # |
|---|
| 442 | # 60 12/11/09 2:56p mphillip |
|---|
| 443 | # SW7550-112: Merge 7550 changes to main branch |
|---|
| 444 | # |
|---|
| 445 | # Refsw_7550/4 12/3/09 12:09a nitinb |
|---|
| 446 | # SW7550-29: Disable POWER_MANAGEMENT by default |
|---|
| 447 | # |
|---|
| 448 | # Refsw_7550/3 11/26/09 8:50a nitinb |
|---|
| 449 | # SW7550-74 : Merge CRB changes |
|---|
| 450 | # |
|---|
| 451 | # 59 12/9/09 5:34p randyjew |
|---|
| 452 | # SW7468-6:Update 7468/7208 support |
|---|
| 453 | # |
|---|
| 454 | # 58 12/1/09 5:49p randyjew |
|---|
| 455 | # SW7468-6: Add 7468 support |
|---|
| 456 | # |
|---|
| 457 | # 58 12/1/09 5:27p randyjew |
|---|
| 458 | # SW7468-6: Add 7468 support |
|---|
| 459 | # |
|---|
| 460 | # 58 12/1/09 5:26p randyjew |
|---|
| 461 | # SW7468-6: Add 7468 support |
|---|
| 462 | # |
|---|
| 463 | # 58 12/1/09 5:20p randyjew |
|---|
| 464 | # SW7468-6: Add 7468 support |
|---|
| 465 | # |
|---|
| 466 | # 57 11/23/09 12:10p mward |
|---|
| 467 | # SW7125-35: Default off option to bypass 3112's on 97125, since DOCSIS |
|---|
| 468 | # software now does the bypass. |
|---|
| 469 | # |
|---|
| 470 | # 56 11/18/09 1:38p gmohile |
|---|
| 471 | # SW7408-1 : Add 7408 support |
|---|
| 472 | # |
|---|
| 473 | # 55 11/16/09 6:43p mward |
|---|
| 474 | # SW7405-3395: Remove misplaced \. |
|---|
| 475 | # |
|---|
| 476 | # 54 11/16/09 1:25p katrep |
|---|
| 477 | # SW7405-3408:replace findstring with filter to do exact word match |
|---|
| 478 | # |
|---|
| 479 | # 53 11/13/09 5:03p erickson |
|---|
| 480 | # SW7325-250: add nexus_platform_standby support |
|---|
| 481 | # |
|---|
| 482 | # 52 11/12/09 3:37p gmohile |
|---|
| 483 | # SW7408-1 : Update 7408 support |
|---|
| 484 | # |
|---|
| 485 | # 51 11/12/09 2:26p gmohile |
|---|
| 486 | # SW7405-3395 : Fix use of NEXUS_FPGA_SUPPORT |
|---|
| 487 | # |
|---|
| 488 | # 50 11/10/09 11:09a erickson |
|---|
| 489 | # SW7405-3351: include NEXUS_SYNCTHUNK_DIR into private includes for |
|---|
| 490 | # linuxkernel and linuxuser.proxy to pick up auto-generated |
|---|
| 491 | # nexus_driver_modules.h |
|---|
| 492 | # |
|---|
| 493 | # 49 11/3/09 3:48p mward |
|---|
| 494 | # SW7125-35: Add an option to bypass 3112's on 97125. |
|---|
| 495 | # |
|---|
| 496 | # 48 10/15/09 6:45p mward |
|---|
| 497 | # SW7125-35: NEXUS_97125_HOST_3112=y build option. |
|---|
| 498 | # |
|---|
| 499 | # 47 10/8/09 5:53p mward |
|---|
| 500 | # SW7125-4: 7125 has GRAPHICS3D. |
|---|
| 501 | # |
|---|
| 502 | # 46 9/22/09 6:44p mward |
|---|
| 503 | # SW7400-2435: Default NEXUS_POWER_MANAGEMENT=y for 7400 platforms. |
|---|
| 504 | # SW7125-4: Default NEXUS_POWER_MANAGEMENT=n for 7125 platforms. |
|---|
| 505 | # |
|---|
| 506 | # 45 9/16/09 1:42p erickson |
|---|
| 507 | # SW7400-2511: add B_REFSW_ or NEXUS_ namespace to build variables |
|---|
| 508 | # |
|---|
| 509 | # 44 9/1/09 1:02p mward |
|---|
| 510 | # SW7125-4: Disable SW streamer select for now, use DIP switch. |
|---|
| 511 | # |
|---|
| 512 | # 43 8/31/09 7:30p mward |
|---|
| 513 | # SW7125-4: Disable SW streamer select for now, use DIP switch. |
|---|
| 514 | # |
|---|
| 515 | # 42 8/25/09 11:47a nickh |
|---|
| 516 | # SW7420-331: Add 97410c support |
|---|
| 517 | # |
|---|
| 518 | # 41 8/10/09 6:36p jrubio |
|---|
| 519 | # PR55232: disable power management for 7342/7340 |
|---|
| 520 | # |
|---|
| 521 | # 40 8/5/09 4:43p katrep |
|---|
| 522 | # PR56569: add nexus platform sw get version api |
|---|
| 523 | # |
|---|
| 524 | # 39 8/5/09 12:04p katrep |
|---|
| 525 | # PR56569: platfrom sofftware release version |
|---|
| 526 | # |
|---|
| 527 | # 38 7/30/09 11:03a gmohile |
|---|
| 528 | # PR 56512 : Merge 7401, 7403 support to mainline |
|---|
| 529 | # |
|---|
| 530 | # 37 7/28/09 10:18a mward |
|---|
| 531 | # PR57145: Set NEXUS_POWER_MANAGEMENT=n for 7400 until new power |
|---|
| 532 | # management scheme is fixed/implemented on 7400. |
|---|
| 533 | # |
|---|
| 534 | # 36 7/24/09 1:00p mward |
|---|
| 535 | # PR 55545: 97125 has FPGA like 97400. |
|---|
| 536 | # |
|---|
| 537 | # 35 7/13/09 12:41p vsilyaev |
|---|
| 538 | # PR 55989: Enabled OTFPVR for the 97405 platform |
|---|
| 539 | # |
|---|
| 540 | # 34 6/26/09 6:33p mward |
|---|
| 541 | # PR47739: Check for B_PASSTHRU_DDP_SUPPORT=n. |
|---|
| 542 | # |
|---|
| 543 | # 33 6/24/09 2:47p mphillip |
|---|
| 544 | # PR54926: Merge down procfs support |
|---|
| 545 | # |
|---|
| 546 | # PR54926/1 6/24/09 12:05a mphillip |
|---|
| 547 | # PR54926: Add procfs to build |
|---|
| 548 | # |
|---|
| 549 | # 32 6/19/09 6:18p mward |
|---|
| 550 | # PR 47739: DDP passthru on 7400 requires RAP_I2S_COMPRESS_SUPPORT=y. |
|---|
| 551 | # |
|---|
| 552 | # 31 4/30/09 7:13p katrep |
|---|
| 553 | # PR43491: 97405 needs disable i2s outputs for 656/i2s inputs |
|---|
| 554 | # |
|---|
| 555 | # 30 4/28/09 11:46a jrubio |
|---|
| 556 | # PR40169: NEXUS_FPGA_SUPPORT is only for 7400 |
|---|
| 557 | # |
|---|
| 558 | # 29 2/27/09 9:57a katrep |
|---|
| 559 | # PR52553: Add 7405-IFE board support |
|---|
| 560 | # |
|---|
| 561 | # 28 12/30/08 2:24p jgarrett |
|---|
| 562 | # PR 50409: Adding DVB_CI |
|---|
| 563 | # |
|---|
| 564 | # 27 12/22/08 7:06p katrep |
|---|
| 565 | # PR50472: Enabled 3D graphics for 7405 C0(7413) |
|---|
| 566 | # |
|---|
| 567 | # 26 12/17/08 1:48p katrep |
|---|
| 568 | # PR49875: Add support for 7466 |
|---|
| 569 | # |
|---|
| 570 | # 25 12/5/08 3:15p nickh |
|---|
| 571 | # PR50043: Update to reflect change in PLATFORM variable name from |
|---|
| 572 | # 97420DVR2 to 97420dvr2 |
|---|
| 573 | # |
|---|
| 574 | # 24 11/19/08 2:58p nickh |
|---|
| 575 | # PR48963: Add 97420DVR2 support |
|---|
| 576 | # |
|---|
| 577 | # 23 11/5/08 12:15p vsilyaev |
|---|
| 578 | # PR 48694: Separated handling of linuxkernel and linuxkernel with |
|---|
| 579 | # driver/ioctls/proxy |
|---|
| 580 | # |
|---|
| 581 | # 22 11/3/08 4:49p katrep |
|---|
| 582 | # PR48628: Add PWM to 7405 build |
|---|
| 583 | # |
|---|
| 584 | # 21 10/14/08 2:58p erickson |
|---|
| 585 | # PR47896: fix path |
|---|
| 586 | # |
|---|
| 587 | # 20 9/8/08 7:00p shyam |
|---|
| 588 | # PR40732 : Re-organize 97043 platform specific code into seperate files |
|---|
| 589 | # |
|---|
| 590 | # 19 8/22/08 7:12p katrep |
|---|
| 591 | # PR45975: Support compilation for 7405 MSG board. |
|---|
| 592 | # |
|---|
| 593 | # 18 8/21/08 3:16p katrep |
|---|
| 594 | # PR45527: NEXUS_CONFIG_IMAGE implementation for runtime FW download |
|---|
| 595 | # |
|---|
| 596 | # 17 7/23/08 1:53p erickson |
|---|
| 597 | # PR44598: NEXUS_Platform_GetDefaultSettings must now be called across |
|---|
| 598 | # the proxy |
|---|
| 599 | # |
|---|
| 600 | # 16 7/11/08 12:45p mphillip |
|---|
| 601 | # PR40869: Add Graphic3D to platform build |
|---|
| 602 | # |
|---|
| 603 | # 15 7/2/08 10:23a vsilyaev |
|---|
| 604 | # PR 44452: Added file to keep NEXUS_Platform_GetDefaultSettings |
|---|
| 605 | # |
|---|
| 606 | # 14 5/19/08 7:44p shyam |
|---|
| 607 | # PR 42787 : Add support for 97043 BSP |
|---|
| 608 | # |
|---|
| 609 | # 13 5/16/08 7:45p vishk |
|---|
| 610 | # PR 40034: Develop Nexus Smartcard Interface/Module. |
|---|
| 611 | # PR 40016: bsettop_smartcard: Develop SettopAPI-to-Nexus shim layer |
|---|
| 612 | # |
|---|
| 613 | # 12 4/24/08 12:59p erickson |
|---|
| 614 | # PR42113: add InputCapture |
|---|
| 615 | # |
|---|
| 616 | # 11 4/2/08 5:41p shyam |
|---|
| 617 | # PR39899: Add 7043 Transcoder support |
|---|
| 618 | # |
|---|
| 619 | # 10 3/24/08 10:27p bandrews |
|---|
| 620 | # PR40090: astm integration |
|---|
| 621 | # |
|---|
| 622 | # 9 3/20/08 2:16p erickson |
|---|
| 623 | # PR36068: remove rockford from standard config spec |
|---|
| 624 | # |
|---|
| 625 | # PR39899/1 2/27/08 5:52p shyam |
|---|
| 626 | # PR 39899 : Integrate 7043 XCD into Nexus |
|---|
| 627 | # |
|---|
| 628 | # 8 2/20/08 1:42p erickson |
|---|
| 629 | # PR39405: added RFM |
|---|
| 630 | # |
|---|
| 631 | # 7 2/7/08 11:26a vsilyaev |
|---|
| 632 | # PR 38682: Added message/syslog routing |
|---|
| 633 | # |
|---|
| 634 | # 6 2/4/08 11:42a erickson |
|---|
| 635 | # PR36808: added SyncChannel |
|---|
| 636 | # |
|---|
| 637 | # 5 2/1/08 5:34p jgarrett |
|---|
| 638 | # PR 39017: Adding HdmiOutput |
|---|
| 639 | # |
|---|
| 640 | # 5 2/1/08 5:25p jgarrett |
|---|
| 641 | # PR 39017: Adding HdmiOutput |
|---|
| 642 | # |
|---|
| 643 | # 4 2/1/08 5:03p vsilyaev |
|---|
| 644 | # PR 38682: Added tracking of open/close calls |
|---|
| 645 | # |
|---|
| 646 | # 3 1/29/08 5:55p vsilyaev |
|---|
| 647 | # PR 38682: Support of callbacks in the linux kernel/user proxy |
|---|
| 648 | # environment |
|---|
| 649 | # |
|---|
| 650 | # 2 1/24/08 4:29p vsilyaev |
|---|
| 651 | # PR 38682: Added proxied environment |
|---|
| 652 | # |
|---|
| 653 | # 1 1/18/08 2:17p jgarrett |
|---|
| 654 | # PR 38808: Merging to main branch |
|---|
| 655 | # |
|---|
| 656 | # Nexus_Devel/23 1/18/08 1:37p vsilyaev |
|---|
| 657 | # PR 38682: Updated nexus kernel environment |
|---|
| 658 | # |
|---|
| 659 | # Nexus_Devel/22 1/16/08 3:27p vsilyaev |
|---|
| 660 | # PR 38682: Compile linuxkernel specific modules |
|---|
| 661 | # |
|---|
| 662 | # Nexus_Devel/21 12/3/07 9:28p jgarrett |
|---|
| 663 | # PR 37837: Adding DMA |
|---|
| 664 | # |
|---|
| 665 | # Nexus_Devel/20 11/29/07 2:21p jgarrett |
|---|
| 666 | # PR 37756: Moving public includes to include directory |
|---|
| 667 | # |
|---|
| 668 | # Nexus_Devel/19 11/21/07 11:06a erickson |
|---|
| 669 | # PR37423: add io modules |
|---|
| 670 | # |
|---|
| 671 | # Nexus_Devel/18 11/15/07 4:01p erickson |
|---|
| 672 | # PR37137: security update |
|---|
| 673 | # |
|---|
| 674 | # Nexus_Devel/17 11/8/07 2:47p vsilyaev |
|---|
| 675 | # PR 36788: PVR record module |
|---|
| 676 | # |
|---|
| 677 | # Nexus_Devel/16 11/5/07 4:30p erickson |
|---|
| 678 | # PR36725: move os code into subdir |
|---|
| 679 | # |
|---|
| 680 | # Nexus_Devel/15 10/19/07 9:39a erickson |
|---|
| 681 | # PR36275: added graphics2d |
|---|
| 682 | # |
|---|
| 683 | # Nexus_Devel/14 10/15/07 5:11p vsilyaev |
|---|
| 684 | # PR 35824: Added playback module |
|---|
| 685 | # |
|---|
| 686 | # Nexus_Devel/13 10/10/07 5:11p vsilyaev |
|---|
| 687 | # PR 35824: Added file module |
|---|
| 688 | # |
|---|
| 689 | # Nexus_Devel/12 10/10/07 11:29a jgarrett |
|---|
| 690 | # PR 35551: Adding frontend |
|---|
| 691 | # |
|---|
| 692 | # Nexus_Devel/11 10/5/07 5:51p jgarrett |
|---|
| 693 | # PR 35551: Adding frontend |
|---|
| 694 | # |
|---|
| 695 | # Nexus_Devel/10 10/5/07 1:42p jgarrett |
|---|
| 696 | # PR 35744: Adding i2c module |
|---|
| 697 | # |
|---|
| 698 | # Nexus_Devel/9 9/28/07 11:32a erickson |
|---|
| 699 | # PR34926: rename videodecoder to video_decoder |
|---|
| 700 | # |
|---|
| 701 | # Nexus_Devel/8 9/27/07 7:52p jgarrett |
|---|
| 702 | # PR 34954: Adding audio |
|---|
| 703 | # |
|---|
| 704 | # Nexus_Devel/7 9/26/07 5:36p vsilyaev |
|---|
| 705 | # PR 34662: Added platform configuration |
|---|
| 706 | # |
|---|
| 707 | # Nexus_Devel/6 9/26/07 1:45p vsilyaev |
|---|
| 708 | # PR 34662: Implementation of display framebuffer |
|---|
| 709 | # |
|---|
| 710 | # Nexus_Devel/5 9/25/07 1:31p vsilyaev |
|---|
| 711 | # PR 34662: Added display module |
|---|
| 712 | # |
|---|
| 713 | # Nexus_Devel/4 9/25/07 12:26p erickson |
|---|
| 714 | # PR34926: added VIDEODECODER |
|---|
| 715 | # |
|---|
| 716 | # Nexus_Devel/3 9/24/07 3:58p erickson |
|---|
| 717 | # PR34925: added TRANSPORT |
|---|
| 718 | # |
|---|
| 719 | # Nexus_Devel/2 9/24/07 1:00p jgarrett |
|---|
| 720 | # PR 35002: Created nexus_platform_core.c |
|---|
| 721 | # |
|---|
| 722 | # Nexus_Devel/1 9/21/07 6:26p jgarrett |
|---|
| 723 | # PR 35002: Adding 97400 platform |
|---|
| 724 | # |
|---|
| 725 | ############################################################ |
|---|
| 726 | |
|---|
| 727 | # |
|---|
| 728 | # Conditional Options for this Makefile |
|---|
| 729 | # |
|---|
| 730 | # None (yet) |
|---|
| 731 | # |
|---|
| 732 | |
|---|
| 733 | ###################### |
|---|
| 734 | # Define this module # |
|---|
| 735 | ###################### |
|---|
| 736 | NEXUS_MODULES += PLATFORM |
|---|
| 737 | |
|---|
| 738 | ################## |
|---|
| 739 | # Module Options # |
|---|
| 740 | ################## |
|---|
| 741 | |
|---|
| 742 | ########################## |
|---|
| 743 | # Default Module Options # |
|---|
| 744 | ########################## |
|---|
| 745 | ifeq ($(filter $(NEXUS_PLATFORM), 97400 97401 97403 ), $(NEXUS_PLATFORM)) |
|---|
| 746 | NEXUS_PLATFORM_OPTIONS = NEXUS_FPGA_SUPPORT |
|---|
| 747 | ifndef NEXUS_FPGA_SUPPORT |
|---|
| 748 | NEXUS_FPGA_SUPPORT :=y |
|---|
| 749 | endif |
|---|
| 750 | endif |
|---|
| 751 | |
|---|
| 752 | ifeq ($(filter $(NEXUS_PLATFORM), 97400 97456 97401 97403), $(NEXUS_PLATFORM)) |
|---|
| 753 | ifneq ($(subst N,n,${B_PASSTHRU_DDP_SUPPORT}),n) |
|---|
| 754 | RAP_I2S_COMPRESS_SUPPORT=y |
|---|
| 755 | endif |
|---|
| 756 | endif |
|---|
| 757 | |
|---|
| 758 | ifeq ($(filter $(NEXUS_PLATFORM), 97420 97408 97231 935233), $(NEXUS_PLATFORM)) |
|---|
| 759 | ifneq ($(subst N,n,${NEXUS_POWER_MANAGEMENT}),n) |
|---|
| 760 | NEXUS_POWER_MANAGEMENT :=y |
|---|
| 761 | endif |
|---|
| 762 | else |
|---|
| 763 | ifeq ($(subst Y,y,${NEXUS_POWER_MANAGEMENT}),y) |
|---|
| 764 | NEXUS_POWER_MANAGEMENT :=y |
|---|
| 765 | endif |
|---|
| 766 | endif |
|---|
| 767 | |
|---|
| 768 | ifdef BENC_CHIP |
|---|
| 769 | NEXUS_HAS_TRANSCODER =y |
|---|
| 770 | endif |
|---|
| 771 | |
|---|
| 772 | |
|---|
| 773 | ifndef NEXUS_CONFIG_IMAGE |
|---|
| 774 | ifeq ($(filter $(B_REFSW_OS),linuxkernel bare),$(B_REFSW_OS)) |
|---|
| 775 | ifeq ($(NEXUS_MODE),driver) |
|---|
| 776 | NEXUS_CONFIG_IMAGE :=y |
|---|
| 777 | endif |
|---|
| 778 | endif |
|---|
| 779 | endif |
|---|
| 780 | |
|---|
| 781 | ifeq ($(NEXUS_MODE),proxy) |
|---|
| 782 | ifneq ($(filter $(NEXUS_PLATFORM), 93380sms), $(NEXUS_PLATFORM)) |
|---|
| 783 | ifndef NEXUS_CONFIG_IMAGE |
|---|
| 784 | NEXUS_CONFIG_IMAGE :=y |
|---|
| 785 | endif |
|---|
| 786 | endif |
|---|
| 787 | endif |
|---|
| 788 | |
|---|
| 789 | ifeq ($(NEXUS_PLATFORM_DIR),) |
|---|
| 790 | NEXUS_PLATFORM_DIR=$(NEXUS_TOP)/platforms/$(NEXUS_PLATFORM) |
|---|
| 791 | endif |
|---|
| 792 | |
|---|
| 793 | ifeq ($(NEXUS_PLATFORM),935233) |
|---|
| 794 | BTHD_ISDBT_SUPPORT=y |
|---|
| 795 | endif |
|---|
| 796 | |
|---|
| 797 | ################### |
|---|
| 798 | # Module Includes # |
|---|
| 799 | ################### |
|---|
| 800 | NEXUS_PLATFORM_PUBLIC_INCLUDES = $(NEXUS_PLATFORM_DIR)/include |
|---|
| 801 | NEXUS_PLATFORM_PRIVATE_INCLUDES += $(NEXUS_PLATFORM_DIR)/src \ |
|---|
| 802 | $(NEXUS_PLATFORM_DIR)/src/$(B_REFSW_OS) \ |
|---|
| 803 | $(NEXUS_SYNCTHUNK_DIR) |
|---|
| 804 | |
|---|
| 805 | ################## |
|---|
| 806 | # Module Sources # |
|---|
| 807 | ################## |
|---|
| 808 | NEXUS_PLATFORM_SOURCES = \ |
|---|
| 809 | $(NEXUS_PLATFORM_DIR)/src/nexus_platform.c \ |
|---|
| 810 | $(NEXUS_PLATFORM_DIR)/src/nexus_platform_config.c \ |
|---|
| 811 | $(NEXUS_PLATFORM_DIR)/src/nexus_platform_core.c \ |
|---|
| 812 | $(NEXUS_PLATFORM_DIR)/src/nexus_platform_$(NEXUS_PLATFORM).c \ |
|---|
| 813 | $(NEXUS_PLATFORM_DIR)/src/nexus_platform_interrupt.c \ |
|---|
| 814 | $(NEXUS_PLATFORM_DIR)/src/$(B_REFSW_OS)/nexus_platform_os.c \ |
|---|
| 815 | $(NEXUS_PLATFORM_DIR)/src/$(B_REFSW_OS)/nexus_platform_server.c \ |
|---|
| 816 | $(NEXUS_PLATFORM_DIR)/src/$(B_REFSW_OS)/nexus_map.c \ |
|---|
| 817 | $(NEXUS_PLATFORM_DIR)/src/nexus_platform_pinmux.c \ |
|---|
| 818 | $(NEXUS_PLATFORM_DIR)/src/nexus_platform_settings.c \ |
|---|
| 819 | $(NEXUS_PLATFORM_DIR)/src/nexus_platform_standby.c \ |
|---|
| 820 | $(NEXUS_PLATFORM_DIR)/src/nexus_platform_standby_$(BCHP_CHIP).c \ |
|---|
| 821 | $(NEXUS_PLATFORM_DIR)/src/nexus_platform_vcxo.c \ |
|---|
| 822 | $(NEXUS_PLATFORM_DIR)/src/nexus_platform_version.c \ |
|---|
| 823 | $(NEXUS_TOP)/base/src/b_objdb.c |
|---|
| 824 | #ifeq ($(filter $(NEXUS_PLATFORM), 935230 935125 935233), $(NEXUS_PLATFORM)) |
|---|
| 825 | #NEXUS_PLATFORM_SOURCES += $(NEXUS_PLATFORM_DIR)/src/interfaces/nexus_platform_boardcfg.c |
|---|
| 826 | #endif |
|---|
| 827 | |
|---|
| 828 | ifneq ($(NEXUS_BASE_ONLY),y) |
|---|
| 829 | NEXUS_PLATFORM_SOURCES += $(NEXUS_PLATFORM_DIR)/src/nexus_platform_frontend.c |
|---|
| 830 | |
|---|
| 831 | ifeq ($(filter $(NEXUS_PLATFORM), 97125 97019 97025 97119 97116), $(NEXUS_PLATFORM)) |
|---|
| 832 | NEXUS_PLATFORM_SOURCES += $(NEXUS_PLATFORM_DIR)/src/nexus_platform_frontend_power_management.c |
|---|
| 833 | endif |
|---|
| 834 | |
|---|
| 835 | endif |
|---|
| 836 | |
|---|
| 837 | ifneq ($(filter $(NEXUS_PLATFORM), 97550 97358 97552), $(NEXUS_PLATFORM)) |
|---|
| 838 | NEXUS_PLATFORM_SOURCES += \ |
|---|
| 839 | $(NEXUS_PLATFORM_DIR)/src/$(B_REFSW_OS)/nexus_platform_pci.c |
|---|
| 840 | endif |
|---|
| 841 | |
|---|
| 842 | ifeq ($(NEXUS_FPGA_SUPPORT),y) |
|---|
| 843 | NEXUS_PLATFORM_SOURCES += \ |
|---|
| 844 | $(NEXUS_PLATFORM_DIR)/src/bfpga.c \ |
|---|
| 845 | $(NEXUS_PLATFORM_DIR)/src/bfpga_name.c \ |
|---|
| 846 | $(NEXUS_PLATFORM_DIR)/src/nexus_platform_fpga.c |
|---|
| 847 | endif |
|---|
| 848 | |
|---|
| 849 | ifeq ($(B_REFSW_OS),linuxemu) |
|---|
| 850 | NEXUS_PLATFORM_PRIVATE_INCLUDES += $(NEXUS_PLATFORM_DIR)/src/$(B_REFSW_OS)/client |
|---|
| 851 | |
|---|
| 852 | NEXUS_PLATFORM_SOURCES += \ |
|---|
| 853 | $(NEXUS_PLATFORM_DIR)/src/$(B_REFSW_OS)/client/client.c \ |
|---|
| 854 | $(NEXUS_PLATFORM_DIR)/src/$(B_REFSW_OS)/client/pagelib.c \ |
|---|
| 855 | $(NEXUS_PLATFORM_DIR)/src/$(B_REFSW_OS)/client/mutex.c |
|---|
| 856 | endif |
|---|
| 857 | |
|---|
| 858 | |
|---|
| 859 | ifeq ($(B_REFSW_OS),linuxkernel) |
|---|
| 860 | NEXUS_PLATFORM_SOURCES += \ |
|---|
| 861 | $(NEXUS_PLATFORM_DIR)/src/$(B_REFSW_OS)/nexus_driver_udivdi3.c \ |
|---|
| 862 | $(NEXUS_PLATFORM_DIR)/src/$(B_REFSW_OS)/nexus_driver_procfs.c \ |
|---|
| 863 | $(NEXUS_PLATFORM_DIR)/src/$(B_REFSW_OS)/floatlib/src/fp-bit-single.c \ |
|---|
| 864 | $(NEXUS_PLATFORM_DIR)/src/$(B_REFSW_OS)/floatlib/src/fp-bit-double.c \ |
|---|
| 865 | $(NEXUS_PLATFORM_DIR)/src/$(B_REFSW_OS)/nexus_platform_os.c \ |
|---|
| 866 | $(NEXUS_PLATFORM_DIR)/src/$(B_REFSW_OS)/nexus_interrupt_map.c |
|---|
| 867 | |
|---|
| 868 | # Remove warnings for 3rd-party FP code |
|---|
| 869 | NEXUS_PLATFORM_EXTRA_CFLAGS += -w |
|---|
| 870 | |
|---|
| 871 | ifeq ($(NEXUS_MODE),driver) |
|---|
| 872 | ifneq ($(LINUX_VER_GE_2_6_31),y) |
|---|
| 873 | NEXUS_PLATFORM_SOURCES += \ |
|---|
| 874 | $(NEXUS_PLATFORM_DIR)/src/$(B_REFSW_OS)/nexus_driver.mod.c |
|---|
| 875 | endif |
|---|
| 876 | NEXUS_PLATFORM_SOURCES += \ |
|---|
| 877 | $(NEXUS_PLATFORM_DIR)/src/$(B_REFSW_OS)/nexus_driver.c \ |
|---|
| 878 | $(NEXUS_PLATFORM_DIR)/src/$(B_REFSW_OS)/nexus_generic_driver.c \ |
|---|
| 879 | $(NEXUS_PLATFORM_DIR)/src/$(B_REFSW_OS)/nexus_driver_callbacks.c |
|---|
| 880 | |
|---|
| 881 | # nexus_generic_driver.c depends on the thunk in order to trap NEXUS_Platform_Init/Uninit |
|---|
| 882 | $(NEXUS_PLATFORM_DIR)/src/$(B_REFSW_OS)/nexus_generic_driver.c: $(NEXUS_SYNCTHUNK_DIR)/nexus_platform_ioctl.h |
|---|
| 883 | endif |
|---|
| 884 | |
|---|
| 885 | ifeq ($(NEXUS_CONFIG_IMAGE),y) |
|---|
| 886 | NEXUS_PLATFORM_SOURCES += \ |
|---|
| 887 | $(NEXUS_PLATFORM_DIR)/src/$(B_REFSW_OS)/nexus_img_kernel.c |
|---|
| 888 | endif |
|---|
| 889 | |
|---|
| 890 | ifeq ($(GL_SUPPORT),y) |
|---|
| 891 | NEXUS_PLATFORM_SOURCES += \ |
|---|
| 892 | $(NEXUS_PLATFORM_DIR)/src/$(B_REFSW_OS)/nexus_driver_graphics3d.c |
|---|
| 893 | endif |
|---|
| 894 | endif |
|---|
| 895 | |
|---|
| 896 | ifeq ($(B_REFSW_OS),bare) |
|---|
| 897 | # __divdi3.o & friends are libgcc files obtained from uclinux-rootfs-2.6.31-2.4.tar.bz2.tar.bz2, uclinux-rootfs/user/root_sign/libgcc |
|---|
| 898 | NEXUS_PLATFORM_SOURCES += \ |
|---|
| 899 | $(NEXUS_PLATFORM_DIR)/src/$(B_REFSW_OS)/nexus_generic_driver.c \ |
|---|
| 900 | $(NEXUS_PLATFORM_DIR)/src/$(B_REFSW_OS)/nexus_driver_callbacks.c \ |
|---|
| 901 | $(NEXUS_PLATFORM_DIR)/src/$(B_REFSW_OS)/nexus_img_kernel.c \ |
|---|
| 902 | $(NEXUS_PLATFORM_DIR)/src/$(B_REFSW_OS)/nexus_interrupt_map.c \ |
|---|
| 903 | $(NEXUS_PLATFORM_DIR)/src/$(B_REFSW_OS)/nexus_platform_os.c \ |
|---|
| 904 | $(NEXUS_PLATFORM_DIR)/src/$(B_REFSW_OS)/nexus_driver_procfs.c \ |
|---|
| 905 | $(NEXUS_PLATFORM_DIR)/src/$(B_REFSW_OS)/floatlib/src/fp-bit-single.c \ |
|---|
| 906 | $(NEXUS_PLATFORM_DIR)/src/$(B_REFSW_OS)/floatlib/src/fp-bit-double.c \ |
|---|
| 907 | $(NEXUS_PLATFORM_DIR)/src/$(B_REFSW_OS)/jumptable_fwd.c \ |
|---|
| 908 | $(NEXUS_PLATFORM_DIR)/src/$(B_REFSW_OS)/libgcc/ucmpdi2.c \ |
|---|
| 909 | $(NEXUS_PLATFORM_DIR)/src/$(B_REFSW_OS)/libgcc/__divdi3.c \ |
|---|
| 910 | $(NEXUS_PLATFORM_DIR)/src/$(B_REFSW_OS)/libgcc/__udivdi3.c \ |
|---|
| 911 | $(NEXUS_PLATFORM_DIR)/src/$(B_REFSW_OS)/libgcc/__moddi3.c \ |
|---|
| 912 | $(NEXUS_PLATFORM_DIR)/src/$(B_REFSW_OS)/libgcc/__umoddi3.c \ |
|---|
| 913 | $(NEXUS_PLATFORM_DIR)/src/$(B_REFSW_OS)/libgcc/__udivmoddi4.c |
|---|
| 914 | |
|---|
| 915 | # NEXUS_PLATFORM_SOURCES can only take .c files, so the build rule for these files is in build/os/bare/os_rules.inc |
|---|
| 916 | # $(NEXUS_PLATFORM_DIR)/src/$(B_REFSW_OS)/stubs_rev.S |
|---|
| 917 | # $(NEXUS_PLATFORM_DIR)/src/$(B_REFSW_OS)/libgcc/memset.S |
|---|
| 918 | # $(NEXUS_PLATFORM_DIR)/src/$(B_REFSW_OS)/libgcc/memcpy_brcm.S |
|---|
| 919 | |
|---|
| 920 | # nexus_generic_driver.c depends on the thunk in order to trap NEXUS_Platform_Init/Uninit |
|---|
| 921 | $(NEXUS_PLATFORM_DIR)/src/$(B_REFSW_OS)/nexus_generic_driver.c: $(NEXUS_SYNCTHUNK_DIR)/nexus_platform_ioctl.h |
|---|
| 922 | endif |
|---|
| 923 | |
|---|
| 924 | ifeq ($(B_REFSW_OS),linuxuser) |
|---|
| 925 | ifeq ($(NEXUS_MODE),) |
|---|
| 926 | NEXUS_PLATFORM_PRIVATE_INCLUDES += $(MAGNUM)/../BSEAV/linux/driver/usermode |
|---|
| 927 | NEXUS_PLATFORM_SOURCES += \ |
|---|
| 928 | $(NEXUS_PLATFORM_DIR)/src/$(B_REFSW_OS)/nexus_platform_os.c \ |
|---|
| 929 | $(NEXUS_PLATFORM_DIR)/src/$(B_REFSW_OS)/nexus_platform_debug_log.c \ |
|---|
| 930 | $(NEXUS_PLATFORM_DIR)/src/$(B_REFSW_OS)/nexus_platform_audio_log.c |
|---|
| 931 | |
|---|
| 932 | ifeq ($(NEXUS_SERVER_SUPPORT),y) |
|---|
| 933 | NEXUS_EXTRA_INCLUDES += $(NEXUS_PLATFORM_DIR)/src/$(B_REFSW_OS) |
|---|
| 934 | NEXUS_PLATFORM_SOURCES += \ |
|---|
| 935 | $(NEXUS_PLATFORM_DIR)/src/$(B_REFSW_OS)/nexus_driver_callbacks.c |
|---|
| 936 | endif |
|---|
| 937 | endif |
|---|
| 938 | endif |
|---|
| 939 | |
|---|
| 940 | ifeq ($(B_REFSW_OS),ucos) |
|---|
| 941 | NEXUS_PLATFORM_PRIVATE_INCLUDES += $(NEXUS_TOP)/modules/core/$(BCHP_CHIP)/src |
|---|
| 942 | NEXUS_PLATFORM_SOURCES += \ |
|---|
| 943 | $(NEXUS_PLATFORM_DIR)/src/$(B_REFSW_OS)/nexus_platform_os.c |
|---|
| 944 | endif |
|---|
| 945 | |
|---|
| 946 | ifeq ($(NEXUS_MODE),proxy) |
|---|
| 947 | NEXUS_PLATFORM_SOURCES = \ |
|---|
| 948 | $(NEXUS_PLATFORM_DIR)/src/$(B_REFSW_OS).$(NEXUS_MODE)/nexus_platform_os.c |
|---|
| 949 | NEXUS_PLATFORM_PRIVATE_INCLUDES += $(NEXUS_SYNCTHUNK_DIR) |
|---|
| 950 | |
|---|
| 951 | NEXUS_PLATFORM_PROXY_SOURCES = \ |
|---|
| 952 | $(NEXUS_PLATFORM_DIR)/src/$(B_REFSW_OS).$(NEXUS_MODE)/nexus_platform_os.c \ |
|---|
| 953 | $(NEXUS_PLATFORM_DIR)/src/$(B_REFSW_OS).$(NEXUS_MODE)/nexus_map.c \ |
|---|
| 954 | $(NEXUS_PLATFORM_DIR)/src/$(B_REFSW_OS).$(NEXUS_MODE)/nexus_platform_debug_log.c \ |
|---|
| 955 | $(NEXUS_PLATFORM_DIR)/src/$(B_REFSW_OS).$(NEXUS_MODE)/nexus_platform_audio_log.c |
|---|
| 956 | |
|---|
| 957 | NEXUS_PLATFORM_LOCAL_SOURCES = \ |
|---|
| 958 | $(NEXUS_PLATFORM_DIR)/src/$(B_REFSW_OS).$(NEXUS_MODE)/nexus_platform_version_local.c |
|---|
| 959 | |
|---|
| 960 | ifeq ($(NEXUS_CONFIG_IMAGE),y) |
|---|
| 961 | NEXUS_PLATFORM_PROXY_SOURCES += \ |
|---|
| 962 | $(NEXUS_PLATFORM_DIR)/src/$(B_REFSW_OS).$(NEXUS_MODE)/nexus_platform_image.c |
|---|
| 963 | endif |
|---|
| 964 | endif |
|---|
| 965 | |
|---|
| 966 | ifeq ($(NEXUS_MODE),client) |
|---|
| 967 | NEXUS_PLATFORM_CLIENT_SOURCES := \ |
|---|
| 968 | $(NEXUS_PLATFORM_DIR)/src/$(B_REFSW_OS).${NEXUS_MODE}/nexus_platform_os.c \ |
|---|
| 969 | $(NEXUS_PLATFORM_DIR)/src/$(B_REFSW_OS).${NEXUS_MODE}/nexus_platform_client.c |
|---|
| 970 | NEXUS_PLATFORM_LOCAL_SOURCES = \ |
|---|
| 971 | $(NEXUS_PLATFORM_DIR)/src/$(B_REFSW_OS).$(NEXUS_MODE)/nexus_platform_version_local.c |
|---|
| 972 | NEXUS_PLATFORM_SOURCES := ${NEXUS_PLATFORM_CLIENT_SOURCES} |
|---|
| 973 | NEXUS_PLATFORM_PRIVATE_INCLUDES += $(NEXUS_SYNCTHUNK_DIR) |
|---|
| 974 | NEXUS_LIB_SUFFIX :=_client |
|---|
| 975 | ifeq ($(GL_SUPPORT),y) |
|---|
| 976 | $(warning GL_SUPPORT=y is not supported in NEXUS_MODE=client. Setting GL_SUPPORT=n.) |
|---|
| 977 | GL_SUPPORT := n |
|---|
| 978 | endif |
|---|
| 979 | endif |
|---|
| 980 | |
|---|
| 981 | |
|---|
| 982 | ################## |
|---|
| 983 | # Module Defines # |
|---|
| 984 | ################## |
|---|
| 985 | |
|---|
| 986 | ifneq ($(NEXUS_PLATFORM_DEFINES),) |
|---|
| 987 | $(warning NEXUS_PLATFORM_DEFINES is being cleared. Currently set to NEXUS_PLATFORM_DEFINES=$(NEXUS_PLATFORM_DEFINES)) |
|---|
| 988 | endif |
|---|
| 989 | |
|---|
| 990 | NEXUS_PLATFORM_DEFINES = |
|---|
| 991 | |
|---|
| 992 | ifeq ($(NEXUS_CONFIG_IMAGE),y) |
|---|
| 993 | NEXUS_PLATFORM_DEFINES += NEXUS_CONFIG_IMAGE |
|---|
| 994 | endif |
|---|
| 995 | |
|---|
| 996 | ifeq ($(NEXUS_FPGA_SUPPORT),y) |
|---|
| 997 | NEXUS_PLATFORM_DEFINES += NEXUS_FPGA_SUPPORT |
|---|
| 998 | endif |
|---|
| 999 | |
|---|
| 1000 | ifeq ($(NEXUS_HAS_TRANSCODER),y) |
|---|
| 1001 | NEXUS_PLATFORM_DEFINES += NEXUS_HAS_TRANSCODER |
|---|
| 1002 | NEXUS_PLATFORM_TRANSCODER_PRIVATE_INCLUDES += \ |
|---|
| 1003 | $(NEXUS_TOP)/platforms/97043 |
|---|
| 1004 | NEXUS_PLATFORM_PRIVATE_INCLUDES += \ |
|---|
| 1005 | $(NEXUS_TOP)/platforms/97043 |
|---|
| 1006 | NEXUS_PLATFORM_SOURCES += \ |
|---|
| 1007 | $(NEXUS_PLATFORM_DIR)/src/$(B_REFSW_OS)/nexus_platform_transcoder.c |
|---|
| 1008 | endif |
|---|
| 1009 | |
|---|
| 1010 | ifneq ($(NEXUS_MODE),) |
|---|
| 1011 | NEXUS_PLATFORM_DEFINES += NEXUS_MODE_$(NEXUS_MODE) |
|---|
| 1012 | endif |
|---|
| 1013 | |
|---|
| 1014 | ifeq ($(NEXUS_PLATFORM),97550) |
|---|
| 1015 | ifeq ($(NEXUS_BOARD_7530_CRB),y) |
|---|
| 1016 | NEXUS_PLATFORM_DEFINES += NEXUS_BOARD_7530_CRB=1 |
|---|
| 1017 | $(warning Compiling for 7530 CRB Board) |
|---|
| 1018 | endif |
|---|
| 1019 | ifeq ($(NEXUS_BOARD_7550_CRB),y) |
|---|
| 1020 | NEXUS_PLATFORM_DEFINES += NEXUS_BOARD_7550_CRB=1 |
|---|
| 1021 | $(warning Compiling for 7550 CRB Board) |
|---|
| 1022 | endif |
|---|
| 1023 | endif |
|---|
| 1024 | |
|---|
| 1025 | ifeq ($(NEXUS_PLATFORM),97410) |
|---|
| 1026 | ifeq ($(NEXUS_PLATFORM_7410_UMA_32b),y) |
|---|
| 1027 | NEXUS_PLATFORM_DEFINES += NEXUS_PLATFORM_7410_UMA_32b=1 |
|---|
| 1028 | endif |
|---|
| 1029 | endif |
|---|
| 1030 | |
|---|
| 1031 | ifeq ($(NEXUS_PLATFORM),97420) |
|---|
| 1032 | ifeq ($(NEXUS_PLATFORM_7420_DBS),y) |
|---|
| 1033 | NEXUS_PLATFORM_DEFINES += NEXUS_PLATFORM_7420_DBS=1 |
|---|
| 1034 | endif |
|---|
| 1035 | ifeq ($(NEXUS_PLATFORM_7420_CABLE),y) |
|---|
| 1036 | NEXUS_PLATFORM_DEFINES += NEXUS_PLATFORM_7420_CABLE=1 |
|---|
| 1037 | endif |
|---|
| 1038 | endif |
|---|
| 1039 | |
|---|
| 1040 | ifeq ($(NEXUS_PLATFORM),97231) |
|---|
| 1041 | ifeq ($(NEXUS_PLATFORM_7231_FBTSFF),y) |
|---|
| 1042 | NEXUS_PLATFORM_DEFINES += NEXUS_PLATFORM_7231_FBTSFF=1 |
|---|
| 1043 | endif |
|---|
| 1044 | ifeq ($(NEXUS_PLATFORM_7231_CSFF),y) |
|---|
| 1045 | NEXUS_PLATFORM_DEFINES += NEXUS_PLATFORM_7231_CSFF=1 |
|---|
| 1046 | endif |
|---|
| 1047 | ifeq ($(NEXUS_PLATFORM_7231_EUSFF),y) |
|---|
| 1048 | NEXUS_PLATFORM_DEFINES += NEXUS_PLATFORM_7231_EUSFF=1 |
|---|
| 1049 | endif |
|---|
| 1050 | endif |
|---|
| 1051 | |
|---|
| 1052 | ifeq ($(filter $(NEXUS_PLATFORM), 97420 97409), $(NEXUS_PLATFORM)) |
|---|
| 1053 | ifeq ($(NEXUS_ZORDER_PIP_SWAP),y) |
|---|
| 1054 | NEXUS_PLATFORM_DEFINES += NEXUS_ZORDER_PIP_SWAP=1 |
|---|
| 1055 | endif |
|---|
| 1056 | endif |
|---|
| 1057 | |
|---|
| 1058 | ifeq ($(NEXUS_PLATFORM),97344) |
|---|
| 1059 | ifeq ($(BCHP_VER), A0) |
|---|
| 1060 | NEXUS_PLATFORM_SOURCES += \ |
|---|
| 1061 | $(NEXUS_PLATFORM_DIR)/src/btst_video_shmoo.c |
|---|
| 1062 | endif |
|---|
| 1063 | ifeq ($(NEXUS_PLATFORM_7344SV),y) |
|---|
| 1064 | NEXUS_PLATFORM_DEFINES += NEXUS_PLATFORM_7344SV=1 |
|---|
| 1065 | endif |
|---|
| 1066 | ifeq ($(NEXUS_PLATFORM_7418SFF_H),y) |
|---|
| 1067 | NEXUS_PLATFORM_DEFINES += NEXUS_PLATFORM_7418SFF_H=1 |
|---|
| 1068 | endif |
|---|
| 1069 | endif |
|---|
| 1070 | |
|---|
| 1071 | ifeq ($(NEXUS_PLATFORM),97422) |
|---|
| 1072 | ifeq ($(BCHP_VER), A0) |
|---|
| 1073 | NEXUS_PLATFORM_SOURCES += \ |
|---|
| 1074 | $(NEXUS_PLATFORM_DIR)/src/btst_video_shmoo.c |
|---|
| 1075 | endif |
|---|
| 1076 | ifeq ($(NEXUS_PLATFORM_7422_DBS),y) |
|---|
| 1077 | NEXUS_PLATFORM_DEFINES += NEXUS_PLATFORM_7422_DBS=1 |
|---|
| 1078 | endif |
|---|
| 1079 | ifeq ($(NEXUS_PLATFORM_7422_CABLE),y) |
|---|
| 1080 | NEXUS_PLATFORM_DEFINES += NEXUS_PLATFORM_7422_CABLE=1 |
|---|
| 1081 | endif |
|---|
| 1082 | ifeq ($(NEXUS_USE_7422_SV_BOARD),y) |
|---|
| 1083 | NEXUS_PLATFORM_DEFINES += NEXUS_USE_7422_SV_BOARD=1 |
|---|
| 1084 | endif |
|---|
| 1085 | endif |
|---|
| 1086 | |
|---|
| 1087 | ifeq ($(filter $(NEXUS_PLATFORM), 97425 97435), $(NEXUS_PLATFORM)) |
|---|
| 1088 | ifeq ($(BCHP_CHIP), 7425) |
|---|
| 1089 | ifeq ($(BCHP_VER), A0) |
|---|
| 1090 | NEXUS_PLATFORM_SOURCES += \ |
|---|
| 1091 | $(NEXUS_PLATFORM_DIR)/src/btst_video_shmoo.c |
|---|
| 1092 | endif |
|---|
| 1093 | endif |
|---|
| 1094 | ifeq ($(NEXUS_PLATFORM_7425_DBS),y) |
|---|
| 1095 | NEXUS_PLATFORM_DEFINES += NEXUS_PLATFORM_7425_DBS=1 |
|---|
| 1096 | endif |
|---|
| 1097 | ifeq ($(NEXUS_PLATFORM_4528_DBS),y) |
|---|
| 1098 | NEXUS_PLATFORM_DEFINES += NEXUS_PLATFORM_4528_DBS=1 |
|---|
| 1099 | endif |
|---|
| 1100 | ifeq ($(NEXUS_USE_7425_SATIPSW),y) |
|---|
| 1101 | NEXUS_PLATFORM_DEFINES += NEXUS_USE_7425_SATIPSW=1 |
|---|
| 1102 | endif |
|---|
| 1103 | ifeq ($(NEXUS_PLATFORM_7425_CABLE),y) |
|---|
| 1104 | NEXUS_PLATFORM_DEFINES += NEXUS_PLATFORM_7425_CABLE=1 |
|---|
| 1105 | ifeq ($(NEXUS_PLATFORM_DOCSIS_PLUS_BCM3128_IB_SUPPORT),y) |
|---|
| 1106 | NEXUS_PLATFORM_DEFINES += NEXUS_PLATFORM_DOCSIS_PLUS_BCM3128_IB_SUPPORT=1 |
|---|
| 1107 | endif |
|---|
| 1108 | ifeq ($(NEXUS_PLATFORM_DOCSIS_OOB_SUPPORT),y) |
|---|
| 1109 | NEXUS_PLATFORM_DEFINES += NEXUS_PLATFORM_DOCSIS_OOB_SUPPORT=1 |
|---|
| 1110 | endif |
|---|
| 1111 | ifeq ($(NEXUS_PLATFORM_DOCSIS_IB_SUPPORT),y) |
|---|
| 1112 | NEXUS_PLATFORM_DEFINES += NEXUS_PLATFORM_DOCSIS_IB_SUPPORT=1 |
|---|
| 1113 | endif |
|---|
| 1114 | ifeq ($(NEXUS_USE_7425_SV_BOARD),y) |
|---|
| 1115 | NEXUS_PLATFORM_DEFINES += NEXUS_USE_7425_SV_BOARD=1 |
|---|
| 1116 | endif |
|---|
| 1117 | ifeq ($(NEXUS_USE_7425_VMS_SFF),y) |
|---|
| 1118 | NEXUS_PLATFORM_DEFINES += NEXUS_USE_7425_VMS_SFF=1 |
|---|
| 1119 | endif |
|---|
| 1120 | endif |
|---|
| 1121 | endif |
|---|
| 1122 | |
|---|
| 1123 | ifeq ($(NEXUS_VIDEO_DECODER_SINGLEDECODE),y) |
|---|
| 1124 | $(warning Compiling Singledecode XVD) |
|---|
| 1125 | NEXUS_PLATFORM_DEFINES += NEXUS_VIDEO_DECODER_SINGLEDECODE=1 |
|---|
| 1126 | endif |
|---|
| 1127 | |
|---|
| 1128 | # PLATFORM is deprecrated in favor of NEXUS_PLATFORM |
|---|
| 1129 | |
|---|
| 1130 | ifeq ($(filter $(NEXUS_PLATFORM), 93380sms 93380vms), $(NEXUS_PLATFORM)) |
|---|
| 1131 | NEXUS_PLATFORM_DEFINES += PLATFORM=93380 |
|---|
| 1132 | NEXUS_PLATFORM_DEFINES += NEXUS_PLATFORM=93380 |
|---|
| 1133 | else |
|---|
| 1134 | |
|---|
| 1135 | ifeq ($(filter $(RAP_REALVIDEO_SUPPORT) $(RAP_VP6_SUPPORT), y), y) |
|---|
| 1136 | NEXUS_PLATFORM_DEFINES += NEXUS_NUM_ZSP_VIDEO_DECODERS=1 |
|---|
| 1137 | endif |
|---|
| 1138 | |
|---|
| 1139 | ifeq ($(filter $(BDSP_VP6_SUPPORT), y), y) |
|---|
| 1140 | NEXUS_PLATFORM_DEFINES += NEXUS_NUM_DSP_VIDEO_DECODERS=1 |
|---|
| 1141 | endif |
|---|
| 1142 | |
|---|
| 1143 | ifeq ($(NEXUS_TOUCHPAD_SUPPORT),y) |
|---|
| 1144 | NEXUS_PLATFORM_DEFINES += NEXUS_TOUCHPAD_SUPPORT |
|---|
| 1145 | endif |
|---|
| 1146 | |
|---|
| 1147 | ifeq ($(NEXUS_TEMP_MONITOR_SUPPORT),y) |
|---|
| 1148 | NEXUS_PLATFORM_DEFINES += NEXUS_TEMP_MONITOR_SUPPORT |
|---|
| 1149 | endif |
|---|
| 1150 | |
|---|
| 1151 | ifeq ($(NEXUS_DVO_DVI_LOOPBACK_SUPPORT),y) |
|---|
| 1152 | NEXUS_PLATFORM_DEFINES += NEXUS_DVO_DVI_LOOPBACK_SUPPORT |
|---|
| 1153 | endif |
|---|
| 1154 | |
|---|
| 1155 | NEXUS_PLATFORM_DEFINES += PLATFORM=$(NEXUS_PLATFORM) |
|---|
| 1156 | NEXUS_PLATFORM_DEFINES += NEXUS_PLATFORM=$(NEXUS_PLATFORM) |
|---|
| 1157 | endif |
|---|
| 1158 | |
|---|
| 1159 | # GL_SUPPORT is for 3D Graphics |
|---|
| 1160 | ifeq ($(GL_SUPPORT),y) |
|---|
| 1161 | # NEXUS_HAS_3D is needed in addition to NEXUS_HAS_GRAPHICS3D. In linux kernel mode, the |
|---|
| 1162 | # platform must provide the 3D interrupt, but the Graphics3D module will live in user space. |
|---|
| 1163 | NEXUS_PLATFORM_DEFINES += NEXUS_HAS_3D |
|---|
| 1164 | endif |
|---|
| 1165 | |
|---|
| 1166 | # Add DIAGS module |
|---|
| 1167 | ifeq ($(DIAGS),y) |
|---|
| 1168 | NEXUS_PLATFORM_DEFINES += DIAGS |
|---|
| 1169 | endif |
|---|
| 1170 | |
|---|
| 1171 | # Add DIAGS_MEM_DMA_TEST |
|---|
| 1172 | ifeq ($(DIAGS_MEM_DMA_TEST),y) |
|---|
| 1173 | NEXUS_PLATFORM_DEFINES += DIAGS_MEM_DMA_TEST |
|---|
| 1174 | endif |
|---|
| 1175 | |
|---|
| 1176 | |
|---|
| 1177 | ####################### |
|---|
| 1178 | # Module Dependencies # |
|---|
| 1179 | ####################### |
|---|
| 1180 | NEXUS_PLATFORM_DEPENDENCIES = $(filter-out PLATFORM, $(NEXUS_MODULES)) |
|---|
| 1181 | |
|---|
| 1182 | # V3D_SUPPORT is for VC4 3D Graphics |
|---|
| 1183 | ifeq ($(V3D_SUPPORT),y) |
|---|
| 1184 | NEXUS_PLATFORM_DEPENDENCIES += GRAPHICS3D |
|---|
| 1185 | endif |
|---|
| 1186 | |
|---|
| 1187 | ################## |
|---|
| 1188 | # Magnum Modules # |
|---|
| 1189 | ################## |
|---|
| 1190 | NEXUS_PLATFORM_MAGNUM_MODULES = |
|---|
| 1191 | |
|---|
| 1192 | ifeq ($(B_REFSW_OS),linuxemu) |
|---|
| 1193 | NEXUS_PLATFORM_MAGNUM_MODULES += $(MAGNUM)/basemodules/test/btst.inc |
|---|
| 1194 | endif |
|---|
| 1195 | |
|---|
| 1196 | |
|---|