diff options
author | Khem Raj <raj.khem@gmail.com> | 2024-05-24 23:14:59 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2024-05-26 08:14:49 -0700 |
commit | 253e0560d4a92e219590b49f9ce0779a3f7d4dfc (patch) | |
tree | e3d389ce212b84fceec7e755225d8373003f8917 /README.md | |
parent | 4e63e15e7fc33f3e25b5ec863e492c0535086947 (diff) | |
download | meta-clang-253e0560d4a92e219590b49f9ce0779a3f7d4dfc.tar.gz |
devtool-clang.sh: Add script for setting devtool workflow
Document the process in README
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 23 |
1 files changed, 23 insertions, 0 deletions
@@ -235,6 +235,29 @@ URI: ghttps://github.com/openembedded/bitbake.git | |||
235 | branch: master | 235 | branch: master |
236 | revision: HEAD | 236 | revision: HEAD |
237 | ``` | 237 | ``` |
238 | # Using Devtool and Upstream Development | ||
239 | |||
240 | All LLVM based recipes use single llvm source directory, As a LLVM | ||
241 | developer, you might want to work on your own repository to build | ||
242 | related recipes, devtool can we useful in establishing such a workflow | ||
243 | there is a script provided `scripts/devtool-clang.sh` which can assist | ||
244 | in setting up all the recipes to use custom LLVM repository, in order | ||
245 | to setup repository make sure that it has all the needed patches applied | ||
246 | or else it will fail to build. Such a tree is already prepared and kept | ||
247 | in sync at | ||
248 | |||
249 | https://github.com/kraj/llvm-project | ||
250 | |||
251 | There are branches under `oe` namespace which carry the needed OE patches | ||
252 | |||
253 | ``` | ||
254 | cd $TOPDIR/workspace/sources | ||
255 | git clone https://github.com/kraj/llvm-project -b oe/main llvm-project | ||
256 | ``` | ||
257 | |||
258 | Once project is setup and meta-clang is added, run `devtool-clang.sh` | ||
259 | script which will do the needed for setting up external sources for the | ||
260 | yocto recipes, now yocto will use custom LLVM tree for its needs. | ||
238 | 261 | ||
239 | # Contributing | 262 | # Contributing |
240 | 263 | ||