build
来自「Uboot常用的移植patches, 方便定制移植到s3c2440」· 代码 · 共 44 行
TXT
44 行
#!/bin/sh -e## This script illustrates how to build a specific version of u-boot from# scratch. This is mainly intended as a template for copy & paste, and as an# example for individual scripts.## This script uses the gnueabi toolchain, see the file README in this# directory.### Environment variables:## SVN points to the root of the local copy of the OpenMoko SVN tree (the tree# must be checked out already), e.g.,# SVN=/home/moko/svn.openmoko.org/## DEVICE specifies the name of the device we build u-boot for, e.g., one of# DEVICE=gta01bv4# DEVICE=gta02v3# DEVICE=gta02v4# DEVICE=gta02v5## GIT_HEAD, if defined, specifies which git head we use, e.g.,# GIT_HEAD=b29661fc1151077776454288051bc9a488351ce8## SVN_REV, if defined, specifies which SVN revision we use, e.g.,# SVN_REV=4108#git clone git://www.denx.de/git/u-boot.gitcd u-boot[ -z "$GIT_HEAD" ] || git reset --hard $GIT_HEADln -sf $SVN/trunk/src/target/u-boot/patches[ -z "$SVN_REV" ] || ( cd patches && svn update -r$SVN_REV; )quilt push -amake ARCH=arm CROSS_COMPILE=arm-angstrom-linux-gnueabi- ${DEVICE}_configmake ARCH=arm CROSS_COMPILE=arm-angstrom-linux-gnueabi- u-boot.udfu
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?