0

I am reading linux kernel source code recently.

The source code use too many Macros to divide files, functions, variables.

But a lot of these Macro are ignored by me. The files, functions, variables depend on the Macro I ignore create too much disturbance.

Is there any method to remove all these files, functions, variables depend on Undefined Macros in the source project?

Thanks a lot.

4

1 回答 1

0
make dir/file.i  - Build the form of preprocessed source code only

例如

make kernel/locking/spinlock.i
cat kernel/locking/spinlock.i
于 2018-05-11T07:00:26.613 回答