Commit b69aab37 authored by jan.koester's avatar jan.koester
Browse files

test

parent 65ceeda2
Loading
Loading
Loading
Loading
+4 −1
Changes for commands/modutils/depmod.cpp: 4 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -280,7 +280,10 @@ namespace fresh { namespace cmd {
                }

                out << relPath(path) << ":";
                for(const auto &depName: splitComma(depends)){
                for(auto depName: splitComma(depends)){
                    // modpost writes the file names ("gpu-sched"), the
                    // map is keyed by the normalized ones ("gpu_sched")
                    for(auto &c: depName) if(c=='-') c='_';
                    auto it=nameToPath.find(depName);
                    if(it!=nameToPath.end())
                        out << " " << it->second;