############################################################ # (c)2003-2009 Broadcom Corporation # # This program is the proprietary software of Broadcom Corporation and/or its licensors, # and may only be used, duplicated, modified or distributed pursuant to the terms and # conditions of a separate, written license agreement executed between you and Broadcom # (an "Authorized License"). Except as set forth in an Authorized License, Broadcom grants # no license (express or implied), right to use, or waiver of any kind with respect to the # Software, and Broadcom expressly reserves all rights in and to the Software and all # intellectual property rights therein. IF YOU HAVE NO AUTHORIZED LICENSE, THEN YOU # HAVE NO RIGHT TO USE THIS SOFTWARE IN ANY WAY, AND SHOULD IMMEDIATELY # NOTIFY BROADCOM AND DISCONTINUE ALL USE OF THE SOFTWARE. # # Except as expressly set forth in the Authorized License, # # 1. This program, including its structure, sequence and organization, constitutes the valuable trade # secrets of Broadcom, and you shall use all reasonable efforts to protect the confidentiality thereof, # and to use this information only in connection with your use of Broadcom integrated circuit products. # # 2. TO THE MAXIMUM EXTENT PERMITTED BY LAW, THE SOFTWARE IS PROVIDED "AS IS" # AND WITH ALL FAULTS AND BROADCOM MAKES NO PROMISES, REPRESENTATIONS OR # WARRANTIES, EITHER EXPRESS, IMPLIED, STATUTORY, OR OTHERWISE, WITH RESPECT TO # THE SOFTWARE. BROADCOM SPECIFICALLY DISCLAIMS ANY AND ALL IMPLIED WARRANTIES # OF TITLE, MERCHANTABILITY, NONINFRINGEMENT, FITNESS FOR A PARTICULAR PURPOSE, # LACK OF VIRUSES, ACCURACY OR COMPLETENESS, QUIET ENJOYMENT, QUIET POSSESSION # OR CORRESPONDENCE TO DESCRIPTION. YOU ASSUME THE ENTIRE RISK ARISING OUT OF # USE OR PERFORMANCE OF THE SOFTWARE. # # 3. TO THE MAXIMUM EXTENT PERMITTED BY LAW, IN NO EVENT SHALL BROADCOM OR ITS # LICENSORS BE LIABLE FOR (i) CONSEQUENTIAL, INCIDENTAL, SPECIAL, INDIRECT, OR # EXEMPLARY DAMAGES WHATSOEVER ARISING OUT OF OR IN ANY WAY RELATING TO YOUR # USE OF OR INABILITY TO USE THE SOFTWARE EVEN IF BROADCOM HAS BEEN ADVISED OF # THE POSSIBILITY OF SUCH DAMAGES; OR (ii) ANY AMOUNT IN EXCESS OF THE AMOUNT # ACTUALLY PAID FOR THE SOFTWARE ITSELF OR U.S. $1, WHICHEVER IS GREATER. THESE # LIMITATIONS SHALL APPLY NOTWITHSTANDING ANY FAILURE OF ESSENTIAL PURPOSE OF # ANY LIMITED REMEDY. # # $brcm_Workfile: $ # $brcm_Revision: $ # $brcm_Date: $ # # Module Description: # # Revision History: # # Created: 09/28/2009 by Jeff Fisher # # $brcm_Log: $ # # ############################################################ # APP_TYPE ?= dta # Add to CFLAGS for 7572 ==> -DCONFIG_7572 ifdef COMSPEC # Any DOS environment NEXUS_TOP := $(shell cd .. && cd) else NEXUS_TOP := $(shell cd ../; pwd) endif ifndef PLATFORM $(error PLATFORM is not defined) endif # include cross-compiler definitions include $(NEXUS_TOP)/platforms/$(PLATFORM)/build/platform_app.inc ifeq (${APP_TYPE},dta) DTA_CABLE=y HAS_SCTE65 ?= y HAS_SCTE18 ?= y HAS_SCTE127 ?= y HAS_CAT ?= y HAS_ATSC ?= y APP_DIR = ./dta CFLAGS += -DCONFIG_NETWORK_PID=0x1FFC #CFLAGS += -DCONFIG_REQUIRE_CAT CFLAGS += -DCONFIG_DEF_VCT_ID=0 CFLAGS += -DCONFIG_DEF_EMM_PID=0x1FF0 # Vendor and Hardware ID CFLAGS += -DDEF_VERSION=1 CFLAGS += -DDEF_VENDOR_ID=0x0FACED # 3 bytes CFLAGS += -DDEF_HARDWARE_ID=0x93545A0 CFLAGS += -DDEF_VENDOR_NAME=\"Broadcom\" CFLAGS += -DBDBG_DEBUG_BUILD=1 THEAPPS = dta_app endif ifeq (${APP_TYPE},nanotv) APP_DIR = ./nanotv THEAPPS = nanotv_app endif ifeq (${APP_TYPE},hh) APP_DIR = ./hh THEAPPS = hh_app endif # # # CFLAGS += -I$(APP_DIR) -I. EXTRA_OBJS += \ bapp_remote.c \ bapp_store.c \ bapp_tune.c \ bapp_nexus.c \ bapp_task.c \ bapp_av.c \ bapp_hdmi.c \ bapp_util.c \ bgfx.c \ bgfx_font.c \ bgfx_defs.c \ iso_639_lang_map.c \ ch_map.c \ led.c \ genericlist.c \ bapp_freq_table.c \ bsettop_smessage_nexus.c \ bsettop_stream_nexus.c \ FrancophilB2_22_mono.c \ FrancophilB2_28_mono.c \ $(APP_DIR)/bapp.c \ $(APP_DIR)/bscreen.c \ $(APP_DIR)/bapp_palette.c \ $(APP_DIR)/bapp_settings.c \ $(APP_DIR)/bapp_str_table.c ifeq (${APP_TYPE},dta) EXTRA_OBJS += \ $(APP_DIR)/chan_mgr.c \ $(APP_DIR)/bscreen_status.c \ $(APP_DIR)/bscreen_debug.c \ $(APP_DIR)/getbits.c \ $(APP_DIR)/dsmcc.c \ $(APP_DIR)/image_recv.c \ $(APP_DIR)/image_write.c endif ifeq (${APP_TYPE},nanotv) EXTRA_OBJS += \ $(APP_DIR)/FrancophilB2_40_mono.c endif ifeq (${APP_TYPE},hh) EXTRA_OBJS += \ $(APP_DIR)/circles.c endif # # PSI paths and sources # BSEAV_LIB_DIR = $(NEXUS_TOP)/../BSEAV/lib MPEG2_TS_PARSE_DIR = $(BSEAV_LIB_DIR)/mpeg2_ts_parse # # Basic PSI parsing # CFLAGS += -I$(MPEG2_TS_PARSE_DIR) EXTRA_OBJS += \ $(MPEG2_TS_PARSE_DIR)/ts_priv.c \ $(MPEG2_TS_PARSE_DIR)/ts_psi.c \ $(MPEG2_TS_PARSE_DIR)/ts_pat.c \ $(MPEG2_TS_PARSE_DIR)/ts_pmt.c # # ATSC PSIP Sources # ifeq ($(HAS_ATSC),y) EXTRA_OBJS += \ $(MPEG2_TS_PARSE_DIR)/psip_mgt.c \ $(MPEG2_TS_PARSE_DIR)/psip_vct.c \ $(MPEG2_TS_PARSE_DIR)/psip_descriptor.c \ $(MPEG2_TS_PARSE_DIR)/psip_ett.c \ $(MPEG2_TS_PARSE_DIR)/psip_rrt.c \ $(MPEG2_TS_PARSE_DIR)/psip_eit.c endif # ATSC PSIP Sources also used for parsing SCTE65 EXTRA_OBJS += \ $(MPEG2_TS_PARSE_DIR)/psip_stt.c \ $(MPEG2_TS_PARSE_DIR)/psip_mss.c \ $(MPEG2_TS_PARSE_DIR)/psip_decode_tree_01.c \ $(MPEG2_TS_PARSE_DIR)/psip_decode_tree_02.c # # SCTE65 Sources Profile 2 only # ifeq ($(HAS_SCTE65),y) CFLAGS += -I$(BSEAV_LIB_DIR)/scte65 CFLAGS += -I$(BSEAV_LIB_DIR)/scte65/nit CFLAGS += -I$(BSEAV_LIB_DIR)/scte65/ntt CFLAGS += -I$(BSEAV_LIB_DIR)/scte65/svct CFLAGS += -I$(BSEAV_LIB_DIR)/scte65/stt CFLAGS += -I$(BSEAV_LIB_DIR)/scte65/os CFLAGS += -I$(BSEAV_LIB_DIR)/scte65/os/linux CFLAGS += -DCONFIG_SCTE65 -DCONFIG_NEXUS EXTRA_OBJS += \ $(BSEAV_LIB_DIR)/scte65/svct/si_svct_vcm.c \ $(BSEAV_LIB_DIR)/scte65/svct/si_svct.c \ $(BSEAV_LIB_DIR)/scte65/ntt/si_ntt.c \ $(BSEAV_LIB_DIR)/scte65/ntt/si_ntt_sns.c \ $(BSEAV_LIB_DIR)/scte65/nit/si_nit.c \ $(BSEAV_LIB_DIR)/scte65/nit/si_nit_cds.c \ $(BSEAV_LIB_DIR)/scte65/nit/si_nit_mms.c \ $(BSEAV_LIB_DIR)/scte65/stt/si_stt.c \ $(BSEAV_LIB_DIR)/scte65/os/linux/si_os.c \ $(BSEAV_LIB_DIR)/scte65/si_util.c \ $(BSEAV_LIB_DIR)/scte65/si_dbg.c endif ifeq ($(HAS_SCTE18),y) CFLAGS += -I$(BSEAV_LIB_DIR)/scte_18 EXTRA_OBJS += \ $(BSEAV_LIB_DIR)/scte_18/ts_scte_18.c endif ifeq ($(HAS_SCTE127),y) CFLAGS += -I$(BSEAV_LIB_DIR)/scte_127 endif ifeq ($(HAS_CAT),y) CFLAGS += -I$(BSEAV_LIB_DIR)/ts_cat EXTRA_OBJS += \ $(BSEAV_LIB_DIR)/ts_cat/ca_parser.c endif include Makefile.inc