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

ninja no work to do #47

Open
CptRiggs opened this issue Jun 7, 2024 · 3 comments
Open

ninja no work to do #47

CptRiggs opened this issue Jun 7, 2024 · 3 comments

Comments

@CptRiggs
Copy link

CptRiggs commented Jun 7, 2024

On building twrp for device air (Redmi 13C 5G) running mka vendorbootimage the vendor_boot.img is not generated in the out/ directory, Upon checking the logs it showed

ninja: no work to do.

So where did i go wrong?
Here are: logs devicetree

@Athwale
Copy link

Athwale commented Sep 26, 2024

Same problem, but different repo:
minimal-manifest-twrp/platform_manifest_twrp_omni#119
Have you been able to find any information? I have been trying to debug this for a while, but fruitlessly.

@CptRiggs
Copy link
Author

@Athwale
Hello there, It has been a while and i've asked about this particular problem on several repositories, As far as i know this only happens to mediatek processor and i theorize that it was due to proprietary blobs. I have so far not found any fixes for this and gave up

@Athwale
Copy link

Athwale commented Sep 28, 2024

The easiest thing here would be if a twrp devel tried this out with the knowledge of how the internals work.
I suspect that the repositories maybe are broken and some files are missing. Maybe.
I found out that the variable in the Makefile that tells the builder to make a recovery image is not set to true. I do not know why though. If you set it to true manually, the compiler complains that it can not find some files.

Have you found out any options or environment variables that would produce more verbose output for debugging?

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

No branches or pull requests

2 participants