资料介绍
Makefile-linux2
*VERSION = 2
PATCHLEVEL = 4
SUBLEVEL = 27
EXTRAVERSION = -uc1
KERNELRELEASE=$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)
以上构成LINUX的版本
# ARCH := armnommu
# ARCH := m68knommu
# ARCH := h8300
# ARCH := niosnommu
# ARCH := e1nommu
ARCH := arm #ARCH: 定义目标CPU的体系结构
# SUBARCH tells the usermode build what the underlying arch is. That is
set
# first, and if a usermode build is happening, the "ARCH=um" on the command
# line overrides the setting of ARCH below. If a native build is
happening,
# then ARCH is assigned, getting whatever value it gets normally, and
# SUBARCH is subsequently ignored.
ifndef SUBARCH
SUBARCH := $(shell uname -m | sed -e s/i.86/i386/ -e s/sun4u/sparc64/ -e
s/arm.*/arm/ -e s/sa110/arm/)
endif
# uname: 显示系统信息, -m: 显示电脑类型,sed:非交互性文本流编辑器. -e