anchor.diff:  PACKAGECONFIG[bootstrap] = "-DCLANG_ENABLE_BOOTSTRAP=On -DCLANG_BOOTSTRAP_PASSTHROUGH='${PASSTHROUGH}' -DBOOTSTRAP_LLVM_ENABLE_LTO=Thin -DBOOTSTRAP_LLVM_ENABLE_LLD=ON,,,"
   PACKAGECONFIG[eh] = "-DLLVM_ENABLE_EH=ON,-DLLVM_ENABLE_EH=OFF,,"
   PACKAGECONFIG[rtti] = "-DLLVM_ENABLE_RTTI=ON,-DLLVM_ENABLE_RTTI=OFF,,"
  +PACKAGECONFIG[libedit] = "-DLLVM_ENABLE_LIBEDIT=ON -DLLDB_DISABLE_LIBEDIT=0,-DLLVM_ENABLE_LIBEDIT=OFF -DLLDB_DISABLE_LIBEDIT=1,libedit libedit-native"
   
   BUILDTARGET = "${@bb.utils.contains('PACKAGECONFIG', 'bootstrap', 'stage2', '', d)}"
   BINPATHPREFIX = "${@bb.utils.contains('PACKAGECONFIG', 'bootstrap', '/tools/clang/stage2-bins/NATIVE', '', d)}"
  
positive.code:                   -DPYTHON_EXECUTABLE='${PYTHON}' \
  "
  
  DEPENDS = "binutils zlib libffi libedit libedit-native libxml2 libxml2-native ninja-native swig-native"
  DEPENDS_append_class-nativesdk = " clang-crosssdk-${SDK_ARCH} virtual/${TARGET_PREFIX}binutils-crosssdk nativesdk-python3"
  DEPENDS_append_class-target = " clang-cross-${TARGET_ARCH} python3"
  
  
negative.code:                   -DBUILD_SHARED_LIBS=OFF \
                    -DLLVM_ENABLE_PROJECTS='clang;clang-tools-extra;lld;lldb' \
                    -DLLVM_BINUTILS_INCDIR=${STAGING_INCDIR} \
                    -DLLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN=ON \
                    -G Ninja ${S}/llvm \
  "
  