| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
| |
While Ccache is a field in build.Params, a user of syz-build does not have the option to set it via the CLI.
This PR exposes a CLI flag for ccache and passes it to build.Params.
|
| |
|
|
|
|
| |
Certain environments might need a specific make command or wrap make
calls with extra logic. This lets users provide a path to a custom make
binary.
|
| |
|
|
| |
Some OSes expect full paths.
|
| |
|
|
|
| |
syz-build implicitly requires a kernel config file to be present.
Make it optional as it's not required by all syzkaller-supported OSes.
|
| | |
|
| |
|
|
|
| |
Add this as an option to syz-ci and syz-build tools.
Otherwise we cannot use clang + ld.lld for kernel builds.
|
| |
|
|
|
| |
Add -trace flag that enabled build process tracing and saving of debug artefacts.
Useful for debugging of #2297.
|
| |
|
|
|
| |
Let the user specify a custom compiler for building the kernel, just
like it can be done in syz-ci's configs.
|
| |
|
|
|
|
|
|
|
|
| |
The struct pkg.build.Params is currently primarily passed on as a
pointer, which leads make it hard to see the places, where it can
(and should) actually be modified.
Make it all more explicit by only passing pointer references to objects
of this type when the object is expected to be modified by the function.
In fact, at this moment there are no such situations.
|
|
|
syz-build is a wrapper around pkg/build for testing purposes.
|