anchor.diff:  	touch $script
   	echo 'export PATH=${prefix}/bin:$PATH' >> $script
   	echo 'export PKG_CONFIG_SYSROOT_DIR=${prefix}/${TARGET_SYS}' >> $script
  -	echo 'export PKG_CONFIG_PATH=${prefix}/${TARGET_SYS}/lib/pkgconfig' >> $script
  +	echo 'export PKG_CONFIG_PATH=${prefix}/${TARGET_SYS}${layout_libdir}/pkgconfig' >> $script
   	echo 'export CONFIG_SITE=${prefix}/site-config' >> $script
  +	echo "alias opkg='LD_LIBRARY_PATH=${prefix}/lib ${prefix}/bin/opkg-cl -f ${sysconfdir}/opkg-sdk.conf -o ${prefix}'" >> $script
  +	echo "alias opkg-target='LD_LIBRARY_PATH=${prefix}/lib ${prefix}/bin/opkg-cl -f ${prefix}/${TARGET_SYS}${layout_sysconfdir}/opkg.conf -o ${prefix}/${TARGET_SYS}'" >> $script
   
   	# Add version information
   	versionfile=${SDK_OUTPUT}/${prefix}/version
  
positive.code: 	# gcc-cross-sdk get built :( (30/11/07)
  	ln -sf libgcc_s.so.1 ${SDK_OUTPUT}/${prefix}/${TARGET_SYS}/lib/libgcc_s.so
  
  	# Remove broken .la files
  	rm -f ${SDK_OUTPUT}/${prefix}/${TARGET_SYS}/lib/*.la
  
  	# Generate link for sysroot use
  	# /usr/local/poky/eabi-glibc/arm/arm-poky-linux-gnueabi/usr -> .
  	cd ${SDK_OUTPUT}/${prefix}/${TARGET_SYS}
  	ln -sf . usr 
  
  	# fix pkgconfig data files
  	if [ -e ${SDK_OUTPUT}/${prefix}/${TARGET_SYS}/lib/pkgconfig ]; then
  		cd ${SDK_OUTPUT}/${prefix}/${TARGET_SYS}/lib/pkgconfig
  		for f in *.pc ; do
  			sed -i 's%=/usr%=${prefix}/${TARGET_SYS}%g' "$f"
  		done
  		for f in *.pc ; do
  			sed -i 's%${STAGING_DIR}%${prefix}%g' "$f"
  		done
  	fi
  	
  
  	# Setup site file for external use
  	siteconfig=${SDK_OUTPUT}/${prefix}/site-config
  
negative.code: SDK_DEPLOY = "${TMPDIR}/deploy/sdk"
  
  IPKG_HOST = "opkg-cl -f ${IPKGCONF_SDK} -o ${SDK_OUTPUT}"
  IPKG_TARGET = "opkg-cl -f ${IPKGCONF_TARGET} -o ${SDK_OUTPUT}/${SDK_PREFIX}/${TARGET_SYS}"
  
  TOOLCHAIN_HOST_TASK ?= "task-sdk-host"
  TOOLCHAIN_TARGET_TASK ?= "task-sdk-bare"
  