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

Change TuxSuite targets #256

Merged

Conversation

nathanchance
Copy link
Member

This series updates the targets that we call for TuxSuite, which will save us a little bit of work (maybe more for modules). See the individual commits for each change to understand the rationale.

Currently, we build the config, kernel, and modules target for all
configurations and dtbs for the couple of machines that we need them
for.

The kernel and modules target for tuxsuite is not instructing it to
build the kernels and modules; instead, the kernel and modules targets
tell tuxsuite to make the kernel image and modules available for
download respectively. The default target, which is run as a
prerequisite for both of these targets, is what actually builds the
kernel image and modules. We do not care about the modules being
available after the fact, as we do not use them for anything; we only
care that they build.

Get rid of the modules target altogether, which may save us from
timeouts related to tarring up the modules for download.

Signed-off-by: Nathan Chancellor <nathan@kernel.org>
The config target is unnecessary, as it is a dependency of the kernel
target.

Signed-off-by: Nathan Chancellor <nathan@kernel.org>
There is no point in having a kernel image saved that we cannot boot.
Use the default target for these builds to make tuxsuite do a little
less work.

Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Copy link
Member

@nickdesaulniers nickdesaulniers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice series! this should save quite a bit of build minutes! 💵 💲

@nathanchance nathanchance merged commit 4b84929 into ClangBuiltLinux:main Dec 9, 2021
@nathanchance
Copy link
Member Author

Thanks for the review!

@nathanchance nathanchance deleted the change-tuxsuite-targets branch December 9, 2021 16:23
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.

2 participants