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

[make] Add ability to deny modules from being used #391

Merged
merged 1 commit into from
Dec 4, 2023

Conversation

schultetwin1
Copy link
Contributor

Certain projects may want to prevent the usage of certain modules from being used. Here are two examples of when this may occur:

  1. The Project has it's own fdt library and does not want developer's using the version of libfdt included with LK

  2. The project does not want developers using mincrypt.

DENY_MODULES is a list which developers can set in their own project makefiles which is checked on each module inclusion. If that module is on the deny list, it causes a build failure.

Certain projects may want to prevent the usage of certain modules from
being used. Here are two examples of when this may occur:

1. The Project has it's own fdt library and does not want developer's
   using the version of libfdt included with LK

2. The project does not want developers using mincrypt.

`DENY_MODULES` is a list which developers can set in their own project
makefiles which is checked on each module inclusion. If that module is
on the deny list, it causes a build failure.
@travisg travisg merged commit b0b2665 into littlekernel:master Dec 4, 2023
257 checks passed
@travisg
Copy link
Member

travisg commented Dec 4, 2023

LGTM!

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

Successfully merging this pull request may close these issues.

None yet

2 participants