anchor.diff:  	virtual/libiconv \
   	glibc-thread-db \
   	${@base_conditional('PREFERRED_PROVIDER_linux-libc-headers', 'external-toolchain-csl', 'linux-libc-headers', '', d)} \
  +	gdbserver \
   "
   
   DEPENDS = "${@base_conditional('PREFERRED_PROVIDER_linux-libc-headers', 'external-toolchain-csl', '', 'linux-libc-headers', d)}"
  
positive.code: 	${@base_conditional('PREFERRED_PROVIDER_linux-libc-headers', 'external-toolchain-csl', '', 'rm -rf ${D}/usr/include/linux', d)}
  	cp -a ${TOOLCHAIN_PATH}/${TARGET_SYS}/include/* ${D}/usr/include
  
  	rm -rf ${D}${bindir}/gdbserver
  	rm -rf ${D}${sysconfdir}/rpc
  	rm -rf ${D}${datadir}/zoneinfo
  }
  
  do_stage() {
  	install -d ${STAGING_INCDIR}
  	install -d ${STAGING_LIBDIR}
  	install -d ${STAGING_DIR_TARGET}${base_libdir}
  
  	cp -a ${TOOLCHAIN_PATH}/${TARGET_SYS}/libc/usr/include/* ${STAGING_INCDIR}
  	${@base_conditional('PREFERRED_PROVIDER_linux-libc-headers', 'external-toolchain-csl', '', 'rm -rf ${D}/usr/include/linux', d)}
  	cp -a ${TOOLCHAIN_PATH}/${TARGET_SYS}/include/* ${STAGING_INCDIR}
  	cp -a ${TOOLCHAIN_PATH}/${TARGET_SYS}/libc/usr/lib/* ${STAGING_LIBDIR}
  	cp -a ${TOOLCHAIN_PATH}/${TARGET_SYS}/libc/lib/* ${STAGING_DIR_TARGET}${base_libdir}
  
  	sed -e "s# /lib# ../../lib#g" -e "s# /usr/lib# .#g" ${STAGING_LIBDIR}/libc.so > ${STAGING_LIBDIR}/temp
  	mv ${STAGING_LIBDIR}/temp ${STAGING_LIBDIR}/libc.so
  
  	sed -e "s# /lib# ../../lib#" -e "s# /usr/lib# .#g" ${STAGING_LIBDIR}/libpthread.so > ${STAGING_LIBDIR}/temp
  	mv ${STAGING_LIBDIR}/temp ${STAGING_LIBDIR}/libpthread.so
  }
  
  TMP_LOCALE="/tmp/locale${libdir}/locale"
  
negative.code: LICENSE_libgcc-dev = "${CSL_LIC_RLE}"
  LICENSE_libstdc++ = "${CSL_LIC_RLE}"
  LICENSE_libstdc++-dev = "${CSL_LIC_RLE}"
  LICENSE_gdbserver = "${CSL_LIC_GDBSERVER}"
  
  do_install() {
  	install -d ${D}${sysconfdir}
  