anchor.diff:  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 () {
  
positive.code: 
  fakeroot archive_sdk() {
  	# Package it up
  	mkdir -p ${SDK_DEPLOY}
  	cd ${SDK_OUTPUT}/${SDKPATH}
  	tar --owner=root --group=root -c . | xz -f -k -c ${XZ_COMPRESSION_LEVEL} ${XZ_THREADS} --check=${XZ_INTEGRITY_CHECK} - > ${SDK_DEPLOY}/${TOOLCHAIN_OUTPUTNAME}.tar.xz
  }
  
  fakeroot create_shar() {
  	cat << "EOF" > ${SDK_DEPLOY}/${TOOLCHAIN_OUTPUTNAME}.sh
  #!/bin/bash
  
  INST_ARCH=$(uname -m | sed -e "s/i[3-6]86/ix86/" -e "s/x86[-_]64/x86_64/")
  
negative.code: MARKER:
  EOF
  	# append the SDK tarball
  	cat ${SDKDEPLOYDIR}/${TOOLCHAIN_OUTPUTNAME}.${SDK_ARCHIVE_TYPE} >> ${SDKDEPLOYDIR}/${TOOLCHAIN_OUTPUTNAME}.sh
  
  	# delete the old tarball, we don't need it anymore
  	rm ${SDKDEPLOYDIR}/${TOOLCHAIN_OUTPUTNAME}.${SDK_ARCHIVE_TYPE}
  }
  