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

Suppress tool execution during kernel builds #11

Merged
merged 1 commit into from
Jul 3, 2024

Conversation

afaerber
Copy link
Contributor

Move the kbuild portion of the Makefile to the top and conditionalize the rest.
Cf. https://www.kernel.org/doc/html/latest/kbuild/modules.html#shared-makefile

This avoids error output from trying to execute sudo, pidof and other tools while initializing Makefile variables in an isolated buid environment where the packages might not be available.

Move the kbuild portion to the top of Makefile and conditionalize the rest.

This avoids error output from trying to execute sudo, pidof and other tools
in an isolated buid environment where they might not be available and are
not needed.

Signed-off-by: Andreas Färber <[email protected]>
@SivaThirunavukkarasu SivaThirunavukkarasu self-assigned this Jul 3, 2024
@SivaThirunavukkarasu SivaThirunavukkarasu merged commit 8b253ab into DeGirum:master Jul 3, 2024
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