summaryrefslogtreecommitdiffstats
path: root/recipes-devtools/castxml
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-devtools/castxml')
-rw-r--r--recipes-devtools/castxml/castxml_git.bb29
1 files changed, 29 insertions, 0 deletions
diff --git a/recipes-devtools/castxml/castxml_git.bb b/recipes-devtools/castxml/castxml_git.bb
new file mode 100644
index 0000000..4d3aa8a
--- /dev/null
+++ b/recipes-devtools/castxml/castxml_git.bb
@@ -0,0 +1,29 @@
1SUMMARY = "C-family abstract syntax tree XML output tool."
2LICENSE = "Apache-2.0"
3LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
4
5SRC_URI = "git://github.com/CastXML/CastXML"
6
7# 0.3.6 is the release for LLVM/Clang v11.0.0
8SRCREV = "902ac163f0291fcfc459f58691481e88c9f91dea"
9PV = "0.3.6"
10
11S = "${WORKDIR}/git"
12
13DEPENDS = "clang"
14
15# Match clang's idea of what TOOLCHAIN should be.
16TOOLCHAIN = "clang"
17TOOLCHAIN_class-native = "gcc"
18TOOLCHAIN_class-nativesdk = "clang"
19
20BUILD_CC_class-nativesdk = "clang"
21BUILD_CXX_class-nativesdk = "clang++"
22BUILD_AR_class-nativesdk = "llvm-ar"
23BUILD_RANLIB_class-nativesdk = "llvm-ranlib"
24BUILD_NM_class-nativesdk = "llvm-nm"
25LDFLAGS_append_class-nativesdk = " -fuse-ld=gold"
26
27inherit cmake cmake-native pkgconfig python3native
28
29BBCLASSEXTEND = "native nativesdk"