首页|嵌入式系统|显示技术|模拟IC/电源|元件与制造|其他IC/制程|消费类电子|无线/通信|汽车电子|工业控制|医疗电子|测试测量
首页 > 分享下载 > 消费类电子 > LINUX-Linux.2.4.x-Makefile注析

LINUX-Linux.2.4.x-Makefile注析

资料介绍
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
LINUX-Linux.2.4.x-Makefile注析
本地下载

评论