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: 	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/*
  
  	mv ${SDK_OUTPUT}/${prefix}/${TARGET_SYS}/lib/gcc* ${SDK_OUTPUT}/${prefix}/lib
  
  
negative.code: }
  
  do_populate_sdk() {
  	sdk_ipk_do_indexes
  	rm -rf ${SDK_OUTPUT}
  	mkdir -p ${SDK_OUTPUT}
  
  	cat <<EOF >${SDK_DIR}/ipkg-host.conf
  src oe file:${DEPLOY_DIR_IPK}/${BUILD_ARCH}
  arch ${BUILD_ARCH} 1
  EOF
  	cat <<EOF >${SDK_DIR}/ipkg-target.conf
  src oe file:${DEPLOY_DIR_IPK}
  EOF
  	ipkgarchs="${PACKAGE_ARCHS}"
  	priority=1
  	for arch in $ipkgarchs; do
  		echo "arch $arch $priority" >> ${SDK_DIR}/ipkg-target.conf
  		echo "arch ${BUILD_ARCH}-$arch-sdk $priority" >> ${SDK_DIR}/ipkg-host.conf
  		priority=$(expr $priority + 5)
  		revipkgarchs="$arch $revipkgarchs"
  		if [ -e ${DEPLOY_DIR_IPK}/$arch/Packages ] ; then
  			echo "src oe-$arch file:${DEPLOY_DIR_IPK}/$arch" >> ${SDK_DIR}/ipkg-target.conf
  		fi
  	done
  
  	rm -r ${SDK_OUTPUT}
  	mkdir -p ${SDK_OUTPUT}
  
  	${IPKG_HOST} update
  	${IPKG_HOST} -force-depends install ${HOST_INSTALL}
  
  	${IPKG_TARGET} update
  	${IPKG_TARGET} install ${TARGET_INSTALL}
  