Make mkdeps more helpful when files are missing

This commit is contained in:
Justine Tunney 2023-02-23 08:11:08 -08:00
parent 0468ca02fe
commit 8b69acc1cc
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
2 changed files with 1 additions and 0 deletions

Binary file not shown.

View file

@ -231,6 +231,7 @@ bool ShouldSkipSource(const char *src) {
}
wontreturn void OnMissingFile(const char *list, const char *src) {
kprintf("%s is missing\n", src);
DCHECK_EQ(ENOENT, errno, "%s", src);
/*
* This code helps GNU Make automatically fix itself when we