Skip to content

classes/linux-kmod-dist: fix host tools rebuild #103

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

Merged
merged 1 commit into from
Jul 27, 2025

Conversation

sixtyfourktec
Copy link
Contributor

Newer scripts check for CC != HOSTCC to detect cross compilation. If detected they rebuild the host tools for the target, because the result of install-extmod-build is likely to be executed on the target (e.g. they create .deb packages). This is of course not the case for us, so fake it by unsetting them. This is not a problem because normally nothing for the target gets compiled.

Newer scripts check for CC != HOSTCC to detect cross compilation. If
detected they rebuild the host tools for the target, because the result
of install-extmod-build is likely to be executed on the target (e.g.
they create .deb packages). This is of course not the case for us, so
fake it by unsetting them. This is not a problem because normally
nothing for the target gets compiled.
@jkloetzke jkloetzke merged commit 2243ac0 into BobBuildTool:master Jul 27, 2025
1 check passed
@jkloetzke
Copy link
Member

Thanks.

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