Comments (2)
Hi, and thanks for using my tool!
I think I can explain most of them.
- All the .mod.c files do not actually exist, their corresponding .o counterparts are generated during the build for loadable kernel modules.
- Some .o files (like llc.o) do not have a corresponding .c file, but the rules in Kbuild produce a file of that name, see for example https://elixir.bootlin.com/linux/v5.4.35/source/net/llc/Makefile#L15 and the
llc-y
rule below the highlighted line. - Our tool does not descend into
scripts/
as the binary files in that directory are not part of the kernel image. - The files inside
arch/arm64/lib/
are mostly written in Assembly, so instead ofmemset.c
there is a filememset.S
. - For most of the remaining files in
arch/arm64
, my tool does generate an output line but does not list any precondition - because the file is always part of the build as a result of being added toobj-y
in a top level directory - so something like
[...]
arch/arm64/kernel/sleep.S <- CONFIG_CPU_PM
arch/arm64/kernel/smccc-call.S
arch/arm64/kernel/smp.c
[...]
is perfectly valid and simply means that the last two files do not have any precondition.
- Lastly, the files in
drivers/firmware/efi/libstub
also seem to not be part of the kernel image itself as they get built throughlib-...
lists which our work didn't need to cover.
If there are any more cases that are unclear, let me know!
from kbuildparser.
Wow, Thanks for your quick and thorough reply.
I think that covers most the cases and explains the behavior.
Thanks for the great tool!
from kbuildparser.
Related Issues (2)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kbuildparser.