anchor.diff:  
           mkdir -p ${SDK_DEPLOY}
   	cd ${SDK_OUTPUT}
  -	fakeroot tar cfj ${SDK_DEPLOY}/${DISTRO}-${DISTRO_VERSION}-${TARGET_ARCH}-oe-toolchain.tar.bz2 .
  +	fakeroot tar cfj ${SDK_DEPLOY}/${DISTRO}-${DISTRO_VERSION}-${TARGET_ARCH}-toolchain.tar.bz2 .
   }
   
   do_populate_sdk[nostamp] = "1"
  
positive.code: 	chmod -R a+r ${SDK_OUTPUT}/${prefix}/${TARGET_SYS}/include/
  	find ${SDK_OUTPUT}/${prefix}/${TARGET_SYS}/include/ -type d | xargs chmod +x
  
          echo 'GROUP ( libpthread.so.0 libpthread_nonshared.a )' > ${SDK_OUTPUT}/${prefix}/${TARGET_SYS}/lib/libpthread.so
          echo 'GROUP ( libc.so.6 libc_nonshared.a )' > ${SDK_OUTPUT}/${prefix}/${TARGET_SYS}/lib/libc.so
  	# remove unwanted housekeeping files
  	mv ${SDK_OUTPUT}${libdir}/../${TARGET_SYS}/lib/ipkg/status ${SDK_OUTPUT}/${prefix}/package-status
  	rm -rf ${SDK_OUTPUT}${libdir}/ipkg
  
  	# remove unwanted executables
  	rm -rf ${SDK_OUTPUT}/${prefix}/sbin ${SDK_OUTPUT}/${prefix}/etc
  
  	# remove broken .la files
  	rm ${SDK_OUTPUT}/${prefix}/${TARGET_SYS}/lib/*.la
  
  	# fix pkgconfig data files
  	cd ${SDK_OUTPUT}/${prefix}/${TARGET_SYS}/lib/pkgconfig
  
negative.code: 	cp -pPR ${SDK_OUTPUT}/${prefix}/usr/* ${SDK_OUTPUT}/${prefix}/${TARGET_SYS}
  	rm -rf ${SDK_OUTPUT}/${prefix}/usr/
  
  	cp -pPR ${SDK_OUTPUT}/${prefix}/lib/* ${SDK_OUTPUT}/${prefix}/${TARGET_SYS}/lib
  	rm -rf ${SDK_OUTPUT}/${prefix}/lib/*
  
  	for fn in `ls ${SDK_OUTPUT}/${prefix}/${TARGET_SYS}/lib/`; do
  		if [ -h ${SDK_OUTPUT}/${prefix}/${TARGET_SYS}/lib/$fn ]; then
  			link=`readlink ${SDK_OUTPUT}/${prefix}/${TARGET_SYS}/lib/$fn`
  			bname=`basename $link`
  			if [ ! -e $link -a -e ${SDK_OUTPUT}/${prefix}/${TARGET_SYS}/lib/$bame ]; then
  				rm ${SDK_OUTPUT}/${prefix}/${TARGET_SYS}/lib/$fn
  				ln -s $bname ${SDK_OUTPUT}/${prefix}/${TARGET_SYS}/lib/$fn
  			fi
  		fi
  	done
  
  	mv ${SDK_OUTPUT}/${prefix}/${TARGET_SYS}/lib/gcc* ${SDK_OUTPUT}/${prefix}/lib
  
  