执行 make时,第一个shell命令:
CHK include/linux/version.h
以此为线索跟踪Makefile目标流程。
include/linux/version.h:$(srctree)/Makefile FORCE
prepare1:prepare2 include/linux/version.h include/asm \
include/config/MARKER
archprepare: prepare1
prepare0: archprepare FORCE
prepare prepare-all: prepare0
$(vmlinux-dirs): prepare scripts
vmlinux: $(vmlinux-lds) $(vmlinux-init) $(vmlinux-main) $(kallsyms.o) FORCE
all: vmlinux
_all:
_all:all
##########################################################################
vmlinux-lds:arch/arm/kernel/vmlinux.lds
vmlinux-init:arch/arm/kernel/head.o arch/arm/kernel/init_task.o init/built-in.o
vmlinux-main: usr/built-in.o arch/arm/kernel/built-in.o arch/arm/mm/built-in.o arch/arm/common/built-in.o arch/arm/mach-s3c2410/built-in.o arch/arm/nwfpe/built-in.o kernel/built-in.o mm/built-in.o fs/built-in.o ipc/built-in.o security/built-in.o crypto/built-in.o block/built-in.o arch/arm/lib/lib.a lib/lib.a arch/arm/lib/built-in.o lib/built-in.o drivers/built-in.o sound/built-in.o net/built-in.o
kallsysm.o:.tmp_kallsyms2.o
vmlinux-dirs:init usr arch/arm/kernel arch/arm/mm arch/arm/common arch/arm/mach-s3c2410 arch/arm/nwfpe kernel mm fs ipc security crypto block drivers sound net arch/arm/lib lib
阅读(924) | 评论(0) | 转发(0) |