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

make clean doesn't remove .bc files #1577

Open
nickdesaulniers opened this issue Feb 3, 2022 · 6 comments
Open

make clean doesn't remove .bc files #1577

nickdesaulniers opened this issue Feb 3, 2022 · 6 comments
Labels
[BUG] linux A bug that should be fixed in the mainline kernel. good first issue Good for newcomers

Comments

@nickdesaulniers
Copy link
Member

just noticed this. Probably a simple fix.

@nickdesaulniers nickdesaulniers added good first issue Good for newcomers [BUG] linux A bug that should be fixed in the mainline kernel. labels Feb 3, 2022
@nathanchance
Copy link
Member

Looks like it should be added here: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Makefile?h=v5.17-rc2#n1840

I guess the reason it is not there now is due to the fact that .bc is not a valid single target for Kbuild? Maybe it should be added?

@RishiKumarRay
Copy link

Yeah i think too , it should be added there

@huangperry
Copy link

If no one's working on this I'd like to take it.

@nathanchance
Copy link
Member

@huangperry Go for it!

@brunobarros2093
Copy link

Hello everyone, is this still open? I would like to help if so

@nickdesaulniers
Copy link
Member Author

nickdesaulniers commented Sep 8, 2023

Go for it! IIRC, as @nathanchance noted above, Kbuild also lacks the rule to generate .bc files from .c files which is probably why make clean happens to not remove them.

IMO, support for both should be added together, atomically, in one commit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[BUG] linux A bug that should be fixed in the mainline kernel. good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

5 participants