Skip to content

kbuild: request dtbs-legacy alongside dtbs in tuxmake builds - #3238

Merged
nuclearcat merged 1 commit into
kernelci:mainfrom
bhcopeland:kbuild-tuxmake-dtbs-legacy
Oct 7, 2026
Merged

nuclearcat merged 1 commit into
kernelci:mainfrom
bhcopeland:kbuild-tuxmake-dtbs-legacy

Conversation

@bhcopeland

Copy link
Copy Markdown
Member

tuxmake's dtbs target only runs when the top-level Makefile has a dtbs_install target, which kernels gained in v4.20. On older kernels it is skipped, the build still passes and no DTBs are produced, so boot jobs on device tree platforms have nothing to boot with.

tuxmake handles those kernels with a separate dtbs-legacy target whose precondition is the inverse of dtbs, so at most one of the two runs. Request both whenever DTBs are built.

Skip extra_targets entries that are already requested, so jobs that added dtbs-legacy themselves do not pass it twice.

tuxmake's dtbs target only runs when the top-level Makefile has a
dtbs_install target, which kernels gained in v4.20. On older kernels it
is skipped, the build still passes and no DTBs are produced, so boot
jobs on device tree platforms have nothing to boot with.

tuxmake handles those kernels with a separate dtbs-legacy target whose
precondition is the inverse of dtbs, so at most one of the two runs.
Request both whenever DTBs are built.

Signed-off-by: Ben Copeland <ben.copeland@linaro.org>
@bhcopeland
bhcopeland force-pushed the kbuild-tuxmake-dtbs-legacy branch from 6580ff4 to e724eeb Compare October 6, 2026 09:52
@nuclearcat
nuclearcat added this pull request to the merge queue Oct 7, 2026
Merged via the queue into kernelci:main with commit f78417a Oct 7, 2026
3 checks passed
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.

3 participants