-
Notifications
You must be signed in to change notification settings - Fork 180
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Pal/Linux-SGX] Improve SGX driver header configuration
This change improves support for building on systems other than Ubuntu: - Use `asm/sgx.h` (not `uapi/asm/sgx.h`). Previously, `uapi` was always appended to the provided include path, so it wasn't possible to configure Gramine when the userspace kernel headers were installed without `uapi` prefix. - Try out the `/usr/include` path. Ubuntu doesn't install kernel headers there, but many other distributions (e.g. Fedora, CentOS) do. - Clarify in the quick start guide that it is for Ubuntu, and add a hint in case of configuration problems. Signed-off-by: Paweł Marczewski <pawel@invisiblethingslab.com>
- Loading branch information
Showing
3 changed files
with
49 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters