Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using -DKERNEL_PATH=<path/to/kernel> does not work #141

Open
guidoj opened this issue Mar 9, 2022 · 2 comments
Open

Using -DKERNEL_PATH=<path/to/kernel> does not work #141

guidoj opened this issue Mar 9, 2022 · 2 comments
Labels

Comments

@guidoj
Copy link

guidoj commented Mar 9, 2022

The find_file command on line 32 in cmake-tool/base.cmake searches explicitly for a directory named "kernel" and the result is stored in KERNEL_PATH. Renaming the kernel directory as stated in Incorporating into your project and defining KERNEL_PATH with the -D option will result in a bogus value for KERNEL_PATH resulting in cmake failing on line 40 (add_subdirectory). Also, the add_subdirectory command itself forces a fixed binary directory named "kernel", which seems unnecessary.

@axel-h axel-h added the bug label Mar 10, 2022
@axel-h
Copy link
Member

axel-h commented Mar 10, 2022

Indeed, this is broken. Are you using this feature - and could you propose a patch to fix this?

@guidoj
Copy link
Author

guidoj commented Mar 30, 2022

Sorry, but I am no longer using this feature. I guessed the solution was to have separate variables for the KERNEL_PATH parameter and the internal version, but that also affected the KERNEL_HELPERS_PATH variable. As I only used the seL4_tools to get me started, I did not pursue this any longer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants