anchor.diff:  MARKER:
   EOF
   	# append the SDK tarball
  -	cat ${SDK_DEPLOY}/${TOOLCHAIN_OUTPUTNAME}.tar.xz >> ${SDK_DEPLOY}/${TOOLCHAIN_OUTPUTNAME}.sh
  +	cat ${SDKDEPLOYDIR}/${TOOLCHAIN_OUTPUTNAME}.${SDK_ARCHIVE_TYPE} >> ${SDKDEPLOYDIR}/${TOOLCHAIN_OUTPUTNAME}.sh
   
   	# delete the old tarball, we don't need it anymore
  -	rm ${SDK_DEPLOY}/${TOOLCHAIN_OUTPUTNAME}.tar.xz
  -}
  +	rm ${SDKDEPLOYDIR}/${TOOLCHAIN_OUTPUTNAME}.${SDK_ARCHIVE_TYPE}
  +}
  
positive.code: require recipes-core/meta/meta-toolchain.bb
  
  PR = "r35"
  
  XZ_COMPRESSION_LEVEL ?= "-e -6"
  XZ_INTEGRITY_CHECK ?= "crc32"
  XZ_THREADS ?= "-T 0"
  
  # This function creates an environment-setup-script for use in a deployable SDK
  toolchain_create_sdk_env_script () {
  
negative.code: 
  fakeroot archive_sdk() {
  	# Package it up
  	mkdir -p ${SDKDEPLOYDIR}
  	cd ${SDK_OUTPUT}/${SDKPATH}
  	tar --owner=root --group=root -c . | xz ${SDK_XZ_OPTIONS} > ${SDKDEPLOYDIR}/${TOOLCHAIN_OUTPUTNAME}.${SDK_ARCHIVE_TYPE}
  }
  
  fakeroot create_shar() {
  	cat << "EOF" > ${SDKDEPLOYDIR}/${TOOLCHAIN_OUTPUTNAME}.sh
  #!/bin/bash
  
  INST_ARCH=$(uname -m | sed -e "s/i[3-6]86/ix86/" -e "s/x86[-_]64/x86_64/")
  