| 1 | ############################################################ |
|---|
| 2 | # (c)2003-2012 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_modules.inc $ |
|---|
| 39 | # $brcm_Revision: 9 $ |
|---|
| 40 | # $brcm_Date: 1/17/12 8:54a $ |
|---|
| 41 | # |
|---|
| 42 | # Module Description: |
|---|
| 43 | # This file defines a list of nexus modules that will be included in the build. |
|---|
| 44 | # |
|---|
| 45 | # Revision History: |
|---|
| 46 | # |
|---|
| 47 | # $brcm_Log: /nexus/platforms/97552/build/platform_modules.inc $ |
|---|
| 48 | # |
|---|
| 49 | # 9 1/17/12 8:54a xhuang |
|---|
| 50 | # SW7552-193: Add HDMI CEC support for 7552 |
|---|
| 51 | # |
|---|
| 52 | # 8 12/28/11 4:08p vishk |
|---|
| 53 | # SW7552-148: 7552B0: Add 3128 support over MTSIF for 7552B0 SVB board. |
|---|
| 54 | # |
|---|
| 55 | # 7 12/20/11 2:45p vishk |
|---|
| 56 | # SW7552-148: 7552B0: Add 3128 support over MTSIF for 7552B0 SVB board |
|---|
| 57 | # |
|---|
| 58 | # 6 11/2/11 3:38p xhuang |
|---|
| 59 | # SW7552-135: add multi process support |
|---|
| 60 | # |
|---|
| 61 | # 5 10/11/11 5:50p xhuang |
|---|
| 62 | # SW7552-135: add nexus modules required by applibs |
|---|
| 63 | # |
|---|
| 64 | # 4 7/7/11 3:30p xhuang |
|---|
| 65 | # SW7552-39: Enable smart card support |
|---|
| 66 | # |
|---|
| 67 | # 3 7/7/11 11:00a xhuang |
|---|
| 68 | # SW7552-41: Enable security for 7552 |
|---|
| 69 | # |
|---|
| 70 | # 2 5/20/11 4:30p erickson |
|---|
| 71 | # SW7420-1819: revise OS test for nfe |
|---|
| 72 | # |
|---|
| 73 | # 1 2/14/11 4:13p xhuang |
|---|
| 74 | # SW7552-25: fork platform_modules for 7552 |
|---|
| 75 | # |
|---|
| 76 | # |
|---|
| 77 | ############################################################ |
|---|
| 78 | ifeq ($(NEXUS_BASE_ONLY),y) |
|---|
| 79 | $(warning NEXUS_BASE_ONLY is defined) |
|---|
| 80 | # Minimum platform_modules.inc to run with just base and core |
|---|
| 81 | include $(NEXUS_TOP)/platforms/$(NEXUS_PLATFORM)/build/platform.inc |
|---|
| 82 | include $(NEXUS_TOP)/modules/core/$(BCHP_CHIP)/core.inc |
|---|
| 83 | include $(NEXUS_TOP)/base/base.inc |
|---|
| 84 | NEXUS_PLATFORM_DEFINES+=NEXUS_BASE_ONLY |
|---|
| 85 | |
|---|
| 86 | else |
|---|
| 87 | # Define Module Options |
|---|
| 88 | |
|---|
| 89 | ifneq ($(filter $(NEXUS_PLATFORM), 97344 97346 97358),) |
|---|
| 90 | NEXUS_FRONTEND_EXTENSION_INC := $(NEXUS_TOP)/extensions/frontend/$(NEXUS_PLATFORM)/frontend_ext.inc |
|---|
| 91 | NEXUS_FRONTEND_3440 := y |
|---|
| 92 | endif |
|---|
| 93 | |
|---|
| 94 | # Include Modules |
|---|
| 95 | |
|---|
| 96 | ifeq ($(filter $(NEXUS_PLATFORM), 97552), $(NEXUS_PLATFORM)) |
|---|
| 97 | ifeq ($(NEXUS_USE_3128_FRONTEND_DAUGHTER_CARD),y) |
|---|
| 98 | NEXUS_USE_3128_FRONTEND_DAUGHTER_CARD := y |
|---|
| 99 | NEXUS_FRONTEND_3128 := y |
|---|
| 100 | endif |
|---|
| 101 | ifeq ($(NEXUS_FRONTEND_312x_VER),) |
|---|
| 102 | NEXUS_FRONTEND_312x_VER := C0 |
|---|
| 103 | else |
|---|
| 104 | NEXUS_FRONTEND_312x_VER := $(NEXUS_FRONTEND_312x_VER) |
|---|
| 105 | endif |
|---|
| 106 | endif |
|---|
| 107 | |
|---|
| 108 | # allow users to use a customized platform.inc for their board |
|---|
| 109 | # this must be placed before all other module .inc files for IMG loading support |
|---|
| 110 | ifeq ($(PLATFORM_INC),) |
|---|
| 111 | PLATFORM_INC=$(NEXUS_TOP)/platforms/$(NEXUS_PLATFORM)/build/platform.inc |
|---|
| 112 | endif |
|---|
| 113 | include $(PLATFORM_INC) |
|---|
| 114 | |
|---|
| 115 | # |
|---|
| 116 | # After PLATFORM, list all modules in order from least to most dependencies. |
|---|
| 117 | # This is required to handle automatic closing on abnormal application termination. |
|---|
| 118 | |
|---|
| 119 | include $(NEXUS_TOP)/modules/core/$(BCHP_CHIP)/core.inc |
|---|
| 120 | include $(NEXUS_TOP)/modules/pwm/$(BCHP_CHIP)/pwm.inc |
|---|
| 121 | include $(NEXUS_TOP)/modules/i2c/$(BCHP_CHIP)/i2c.inc |
|---|
| 122 | include $(NEXUS_TOP)/modules/gpio/$(BCHP_CHIP)/gpio.inc |
|---|
| 123 | include $(NEXUS_TOP)/modules/led/$(BCHP_CHIP)/led.inc |
|---|
| 124 | |
|---|
| 125 | include $(NEXUS_TOP)/modules/ir_input/$(BCHP_CHIP)/ir_input.inc |
|---|
| 126 | include $(NEXUS_TOP)/modules/ir_blaster/$(BCHP_CHIP)/ir_blaster.inc |
|---|
| 127 | include $(NEXUS_TOP)/modules/input_capture/$(BCHP_CHIP)/input_capture.inc |
|---|
| 128 | include $(NEXUS_TOP)/modules/rfm/$(BCHP_CHIP)/rfm.inc |
|---|
| 129 | include $(NEXUS_TOP)/modules/keypad/$(BCHP_CHIP)/keypad.inc |
|---|
| 130 | include $(NEXUS_TOP)/modules/frontend/frontend.inc |
|---|
| 131 | include $(NEXUS_TOP)/modules/spi/$(BCHP_CHIP)/spi.inc |
|---|
| 132 | include $(NEXUS_TOP)/modules/security/$(BCHP_CHIP)/security.inc |
|---|
| 133 | include $(NEXUS_TOP)/modules/dma/$(BCHP_CHIP)/dma.inc |
|---|
| 134 | include $(NEXUS_TOP)/modules/transport/$(BCHP_CHIP)/transport.inc |
|---|
| 135 | include $(NEXUS_TOP)/modules/video_decoder/$(BCHP_CHIP)/video_decoder.inc |
|---|
| 136 | include $(NEXUS_TOP)/modules/simple_decoder/simple_decoder.inc |
|---|
| 137 | include $(NEXUS_TOP)/modules/surface_compositor/surface_compositor.inc |
|---|
| 138 | include $(NEXUS_TOP)/modules/input_router/input_router.inc |
|---|
| 139 | include $(NEXUS_TOP)/modules/audio/$(BCHP_CHIP)/audio.inc |
|---|
| 140 | include $(NEXUS_TOP)/modules/surface/$(BCHP_CHIP)/surface.inc |
|---|
| 141 | include $(NEXUS_TOP)/modules/graphics2d/$(BCHP_CHIP)/graphics2d.inc |
|---|
| 142 | include $(NEXUS_TOP)/modules/display/$(BCHP_CHIP)/display.inc |
|---|
| 143 | include $(NEXUS_TOP)/modules/astm/$(BCHP_CHIP)/astm.inc |
|---|
| 144 | include $(NEXUS_TOP)/modules/sync_channel/$(BCHP_CHIP)/sync_channel.inc |
|---|
| 145 | include $(NEXUS_TOP)/modules/hdmi_output/$(BCHP_CHIP)/hdmi_output.inc |
|---|
| 146 | include $(NEXUS_TOP)/modules/smartcard/$(BCHP_CHIP)/smartcard.inc |
|---|
| 147 | |
|---|
| 148 | ifeq ($(NEXUS_DVB_CI_SUPPORT),y) |
|---|
| 149 | include $(NEXUS_TOP)/modules/dvb_ci/$(BCHP_CHIP)/dvb_ci.inc |
|---|
| 150 | endif |
|---|
| 151 | |
|---|
| 152 | ifeq ($(NEXUS_HAS_TRANSCODER),y) |
|---|
| 153 | include $(NEXUS_TOP)/modules/transcoder/$(BENC_CHIP)/transcoder.inc |
|---|
| 154 | endif |
|---|
| 155 | |
|---|
| 156 | ifeq ($(filter $(B_REFSW_OS),linuxuser linuxkernel bare),) |
|---|
| 157 | # Include uart for non-linux systems only. |
|---|
| 158 | include $(NEXUS_TOP)/modules/uart/$(BCHP_CHIP)/uart.inc |
|---|
| 159 | endif |
|---|
| 160 | |
|---|
| 161 | ifeq ($(NEXUS_TOUCHPAD_SUPPORT),y) |
|---|
| 162 | include $(NEXUS_TOP)/modules/touchpad/$(BCHP_CHIP)/touchpad.inc |
|---|
| 163 | endif |
|---|
| 164 | |
|---|
| 165 | include $(NEXUS_TOP)/base/base.inc |
|---|
| 166 | |
|---|
| 167 | ifneq ($(filter $(B_REFSW_OS),linuxkernel bare),$(B_REFSW_OS)) |
|---|
| 168 | NEXUS_USERMODE=y |
|---|
| 169 | endif |
|---|
| 170 | |
|---|
| 171 | ifneq ($(PVR_SUPPORT),n) |
|---|
| 172 | ifeq ($(NEXUS_USERMODE),y) |
|---|
| 173 | # Do not compile modules that do file I/O into the kernel |
|---|
| 174 | include $(NEXUS_TOP)/modules/file/file.inc |
|---|
| 175 | include $(NEXUS_TOP)/modules/playback/playback.inc |
|---|
| 176 | include $(NEXUS_TOP)/modules/record/record.inc |
|---|
| 177 | endif |
|---|
| 178 | endif |
|---|
| 179 | |
|---|
| 180 | ifeq ($(NEXUS_MPOD_SUPPORT),y) |
|---|
| 181 | NEXUS_PLATFORM_DEFINES += NEXUS_HAS_MPOD |
|---|
| 182 | endif |
|---|
| 183 | |
|---|
| 184 | ifeq ($(BCEC_SUPPORT),y) |
|---|
| 185 | include $(NEXUS_TOP)/modules/cec/$(BCHP_CHIP)/cec.inc |
|---|
| 186 | endif |
|---|
| 187 | endif #NEXUS_BASE_ONLY |
|---|