Skip to content

build: keep comp manpage adoc rules out of the kbuild pass#4227

Merged
BsAtHome merged 1 commit into
LinuxCNC:masterfrom
grandixximo:fix/rtai-submakefile-adoc
Jul 3, 2026
Merged

build: keep comp manpage adoc rules out of the kbuild pass#4227
BsAtHome merged 1 commit into
LinuxCNC:masterfrom
grandixximo:fix/rtai-submakefile-adoc

Conversation

@grandixximo

Copy link
Copy Markdown
Contributor

In the KERNELRELEASE (kbuild) pass COMPS is rebuilt from a wildcard that mixes hal/components and hal/drivers. The manpage adoc targets were derived from COMPS outside the KERNELRELEASE guard, so in that pass they picked up hal/drivers/*.comp entries that fail the hal/components/%.comp static pattern rule, breaking RTAI builds.

Move the manpage adoc vars and rules inside the non-kbuild else branch, where manpage generation belongs. uspace builds are unaffected.

Fixes #4226.

In the KERNELRELEASE (kbuild) pass COMPS is rebuilt from a wildcard that
mixes hal/components and hal/drivers, so the adoc targets derived from it
picked up hal/drivers/*.comp entries that fail the hal/components/%.comp
static pattern rule, breaking RTAI builds. Move the manpage adoc vars and
rules inside the non-kbuild else branch. Fixes LinuxCNC#4226.
@grandixximo

Copy link
Copy Markdown
Contributor Author

@BsAtHome does this fix #4226 for you?

@BsAtHome BsAtHome merged commit af6fb80 into LinuxCNC:master Jul 3, 2026
16 checks passed
@BsAtHome

BsAtHome commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Yes, it is fixed.

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.

docs? RTAI compile is confused about some components

2 participants