1 | ## Tools
|
---|
2 |
|
---|
3 | This directory contains various scripts.
|
---|
4 | Some of them are used by the build system itself and are not relevant for most
|
---|
5 | people. Others are available for manual use, and that category further
|
---|
6 | divides into those meant to be used in the source directory, and those that
|
---|
7 | work on the build directory.
|
---|
8 |
|
---|
9 |
|
---|
10 | ### Source directory scripts
|
---|
11 |
|
---|
12 | * build_all.sh
|
---|
13 | - Builds (or incrementally rebuilds) all predefined HelenOS configurations.
|
---|
14 | Can be executed in arbitrary directory outside the source tree.
|
---|
15 | * build-ccheck.sh
|
---|
16 | - Builds the ccheck tool.
|
---|
17 | * ccheck.sh
|
---|
18 | - Runs the ccheck tool to verify coding style of C files in the repository.
|
---|
19 | * srepl
|
---|
20 | - A refactoring tool for global search-and-replace operations. Sed wrapper.
|
---|
21 | * toolchain.sh
|
---|
22 | - Builds the cross-compiler toolchains necessary to build HelenOS.
|
---|
23 | * release.sh
|
---|
24 | - Builds everything (as in build_all.sh), and generates release artifacts.
|
---|
25 |
|
---|
26 |
|
---|
27 | ### Build directory scripts
|
---|
28 |
|
---|
29 | * ew.py
|
---|
30 | - Emulator Wrapper. After building the system image, some machines can be
|
---|
31 | run in an emulator, mostly QEMU. This script simplifies it.
|
---|
32 | * export.sh
|
---|
33 | - Exports a subset of development files in a form suitable for cross-compiling
|
---|
34 | third-party software independently of the HelenOS source tree.
|
---|
35 | The exported files are specific for the currently built configuration.
|
---|
36 |
|
---|
37 |
|
---|
38 | ### Used by build scripts
|
---|
39 |
|
---|
40 | * autocheck.awk
|
---|
41 | * cc.sh
|
---|
42 | * config.py
|
---|
43 | * mkarray.py, mkarray_for_meson.sh
|
---|
44 | * mkuimage.py
|
---|
45 |
|
---|
46 |
|
---|
47 | ### Misc
|
---|
48 |
|
---|
49 | * filldir.py
|
---|
50 | - Fill a directory with N empty directories. Seems to be unused, purpose unclear.
|
---|
51 | * gentestfile.py
|
---|
52 | - Generates test file for uspace/app/testread.
|
---|
53 | * jobfile.py
|
---|
54 | - Obsolete tooling support. Replaced by Meson.
|
---|
55 | * mkext2.py, mkext4.py, mkfat.py
|
---|
56 | - File system builders that don't require root privileges.
|
---|
57 | Used by build scripts and by ew.py.
|
---|
58 | * travis.sh
|
---|
59 | - Runs Travis CI jobs. Not meant for human consumption.
|
---|
60 | * imgutil.py, xstruct.py, xtui.py
|
---|
61 | - Libraries for other python scripts.
|
---|