Relative Content

Tag Archive for gccmakefilelinux-kernelkbuildkconfig

Unable to generate intermediate .i files (preprocessed files) in Linux kernel

In Linux kernel, I need to analyze the source code files, I choose intermediate .i files (preprocessed files) to analyze because of the macro definitions (preprocessed files have the macro definitions expanded to make it easier to analyze). I tried to use “make” to generate the .i file, my command is “make net/core/skbuff.i”, this will generate net/core/skbuff.c corresponding to net/core/skbuff.i file, this command works fine. But when I try to analyze other files, I get an error: make net/core/sock_map.i