anchor.diff:  	# Build the DSP power manager kernel module
   	cd ${S}/cetools/packages/ti/bios/power
   
  -	# Unpack all kernel sources for teh DSP power manager module
  +	# Unpack all kernel sources for the DSP power manager module
   	for dsp in $(ls | grep bld | awk -F, '{print $2}' | awk -F_ '{print $1}') ; do
   		if ! [ -e $dsp ] ; then tar xf ti_bios_power,${dsp}_bld.tar ; fi
   	done		
  
positive.code: 
  }
  
  export DSPLIBS = "${S}/packages/ti/sdo/ce/utils/trace/lib/*.a* \
                    ${S}/packages/ti/sdo/ce/bioslog/lib/*.a* \
                    ${S}/packages/ti/sdo/ce/video/lib/*.a* \
                    ${S}/packages/ti/sdo/ce/audio/lib/*.a* \
                    ${S}/packages/ti/sdo/ce/speech/lib/*.a* \
                    ${S}/packages/ti/sdo/ce/lib/*.a* \
                    ${S}/packages/ti/sdo/ce/alg/lib/*.a* \
                    ${S}/cetools/packages/ti/sdo/fc/dman3/*.a* \
                    ${S}/cetools/packages/ti/sdo/fc/acpy3/*.a* \
  		          ${S}/packages/ti/sdo/ce/osal/linux/lib/osal_linux_470.a* \ 
                    ${S}/packages/ti/sdo/ce/utils/xdm/lib/*.a* \
                    ${S}/cetools/packages/ti/sdo/utils/trace/lib/*.a* \
                   "
  
  do_install() {
  		unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
  		cd ${S}/cetools/packages/ti/sdo/linuxutils/cmem
  		oe_runmake install
  		install -d ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/dsp
  		mv ${D}/cmemk.ko ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/dsp
  		install -d ${D}/${base_sbindir}
  		cd ${D} ; mv apitest apitestd multi_process multi_processd translate translated ${D}/${base_sbindir}		
  
  
  		install -d ${D}/${libdir}
  		for i in ${DSPLIBS}; do
  			install -m 0755 $i ${D}/${libdir}/ || true
  		done
          install -m 0755 ${S}/cetools/packages/ti/sdo/linuxutils/cmem/lib/*.a ${D}/${libdir}
  }
  
  do_stage() {
  		install -d ${STAGING_LIBDIR}	
  		for i in ${DSPLIBS} ; do
  			install -m 0755 $i ${STAGING_LIBDIR}/ 
  			ln -sf ${STAGING_LIBDIR}/$(basename $i | awk -F. '{print $1}').a470MV  ${STAGING_LIBDIR}/$(basename $i | awk -F. '{print $1}').a || true 
  		done
  
          install -m 0755 ${S}/cetools/packages/ti/sdo/linuxutils/cmem/lib/*.a ${STAGING_LIBDIR}/
  
  		install -d ${STAGING_INCDIR}/codec-engine}
  		
  		for header in $(find ${S}/cetools/packages/ -name "*.h") ; do
  			install -d ${STAGING_INCDIR}/codec-engine/$(dirname $header | sed s:${S}::g)
  			cp -pPr  $header ${STAGING_INCDIR}/codec-engine/$(echo $header | sed s:${S}::g)
  		done
  	
  		for header in $(find ${S}/packages/ -name "*.h") ; do
  			install -d ${STAGING_INCDIR}/codec-engine/$(dirname $header | sed s:${S}::g)
  			cp -pPr  $header ${STAGING_INCDIR}/codec-engine/$(echo $header | sed s:${S}::g)
  		done
  	
  }
  
  pkg_postinst_${PN}-module () {
  		if [ -n "$D" ]; then        
                  exit 1
          fi
  
negative.code: 	        xdcpaths.mak
  	
  	# Start building the CE examples: codecs, extensions, servers (codec bundles) and ARM side apps	
  	# the DSP side uses CC to point to the c6x codegen, but would get the gcc tool
  	unset CC
  	# Make clean doesn't do what you'd expect, it only cleans stuff you've enabled, so some cruft remains	
  	for i in codecs extensions servers apps ; do
  		make -e -C ${S}/examples/ti/sdo/ce/examples/$i clean	
  		make -e -C ${S}/examples/ti/sdo/ce/examples/$i
  