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