commit | 3f509e0733f926f9a0742604c7bad00e22683344 | [log] [tgz] |
---|---|---|
author | David Brazdil <dbrazdil@google.com> | Mon Jul 01 12:42:25 2019 +0100 |
committer | David Brazdil <dbrazdil@google.com> | Fri Jul 05 12:57:03 2019 +0100 |
tree | 35b66bc55e8184ba596ca270a13d10c5f95d0091 | |
parent | cff1f681e77adebed2b6fbe6bca64c63857a9d67 [diff] |
Build Linux and the Linux driver out of tree Linux and the Hafnium module have been built inside their source tree so far. The targets have a hardcoded toolchain but they get built multiple times, once for each toolchain defined in GN. This can cause the build to fail when two instances attempt to compile the same file at the same time. Refactor the build scripts to compile the kernel and the module in the out/ directory of each corresponding toolchain. This cleans up the build files a bit but also introduces a new problem. Out-of-tree kernel modules do not support building out of their folder. This patch avoids that by copying the source files into `target_out_dir`. Test: kokoro/ubuntu/build.sh Change-Id: I6fc10ebd9623f5f82dd086447b80d935c490765e
Hafnium is a hypervisor, initially supporting aarch64 (64-bit ARMv8 CPUs).
Get in touch and keep up-to-date at hafnium-discuss@googlegroups.com.
To jump in and build Hafnium, follow the getting started instructions.
If you want to contribute to the project, see details of how we accept contributions.