[Author: Bo Shen <voice.shen@gmail.com>]
[Linux kernel: 3.13-rc6, ]
前面文章讲解了zImage的生成过程(http://blog.csdn.net/voice_shen/article/details/17713441),其要依赖于<arch/arm/boot/compressed/vmlinux>。下面详细讲解<arch/arm/boot/compressed/vmlinux>生成过程。
51 $(obj)/compressed/vmlinux: $(obj)/Image FORCE
52 $(Q)$(MAKE) $(build)=$(obj)/compressed $@
由51行可知,<arch/arm/compressed/vmlinux>的生成需要依赖于Image。后面给出分析。
其52行的$(Q)表示什么意思呢?查看Linux根目录下面的Makefile可知:
300 # If KBUILD_VERBOSE equals 0 then the above command will be hidden.
301 # If KBUILD_VERBOSE equals 1 then the above command is displayed.
302
303 ifeq ($(KBUILD_VERBOSE),1)
304 quiet =
305 Q =
306 else
307 qui