#!/bin/bash
#alias plat='. /opt/brcm/scripts/plat'
#plat 97550 A0

export PLATFORM=97550
export BCHP_VER=A0
export LINUX=/var/ftp/streams/7572/stblinux-2.6.31
export LINUX_INC=$LINUX/include
export PATH=/usr/local/bin:/bin:/usr/bin:/var/ftp/streams/7572/crosstools_sf-linux-2.6.18.0_gcc-4.2-11ts_uclibc-nptl-0.9.29-20070423_20090508/bin

export SOFT_GFX_SUPPORT=y 
export BUILD_SYSTEM=nexus 
export NEXUS_POWER_MANAGEMENT=y
export PVR_SUPPORT=n
export RAP_AACSBR_SUPPORT=y 
export RAP_SRC_SUPPORT=y 
export RAP_AC3_SUPPORT=y 
export RAP_AC3ENC_SUPPORT=y 
export PLAYBACK_IP_SUPPORT=n 
export NEXUS_USE_SW_FILTER=y 


export BUILD_SYSTEM=nexus

export DTA_CABLE=y



#make clean
#make api
make $1
cp ../bin/libnexus.so /var/ftp/streams/7572/uclinux-rootfs/skel/user
cp ../bin/dta_app /var/ftp/streams/7572/uclinux-rootfs/skel/user



