Skip to content

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

Open
grandixximo wants to merge 1 commit into
LinuxCNC:masterfrom
grandixximo:fix/rtai-submakefile-adoc
Open

build: keep comp manpage adoc rules out of the kbuild pass#4227
grandixximo wants to merge 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?

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

1 participant