Crates.io | downstream_dependency_map |
lib.rs | downstream_dependency_map |
version | 0.1.0 |
source | src |
created_at | 2024-07-23 05:56:57.806928 |
updated_at | 2024-07-23 05:56:57.806928 |
description | An utility to list the downstream kernel's individual modules, with their includes and dependencies. |
homepage | https://codeberg.org/quisgor/downstream_dependency_map |
repository | https://codeberg.org/quisgor/downstream_dependency_map |
max_upload_size | |
id | 1312451 |
size | 34,511 |
Analyze downstream kernel's modules and their dependencies
Usage: downstream_dependency_map [downstream_compile_commands.json] [downstream kernel directory] [relative build directory name (must be in the high source tree)] [mainline kernel directory] [option] ...
Example: downstream_dependency_map downstream_kernel/build/compile_commands.json downstream_kernel/ build/ mainline_kernel/ -pd
Options:
--path-absolute, -a : Use absolute path to the source directory
--print-dependencies, -pd : Print dependencies tree
--print-includes, -pi : Print includes
--dependencies-json, -dj [output.json] : Export dependencies tree to a .json file
--dependencies-dot, -dd [output.dot] : Export dependencies tree to a .dot file
--includes-json, -ij [output.json] : Export includes to a .json file
--includes-dot, -id [output.dot] : Export includes to a .dot file
How to make it work:
bear -- [./build_script.sh]