📄 update
字号:
#!/bin/sh -e## This script illustrates how to update u-boot to either the latest or some# specific upstream and OpenMoko version. This is mainly intended as a template# for copy & paste, and as an example for individual scripts.## See README for the toolchain and "build" for environment variables.# We use GIT_HEAD and SVN_REV (both are optional).#cd u-boot# If there are uncommitted changes, "quilt refresh" them first.# If any of the repositories has been updated before running this script,# "quilt pop -a" may fail, and you have to use "quilt pop -f" or# "quilt pop -a -f".#quilt pop -agit pullgit reset --hard ${GIT_HEAD:-HEAD}( cd patches && svn update -r${SVN_REV:-HEAD}; )quilt push -amake ARCH=arm CROSS_COMPILE=arm-angstrom-linux-gnueabi- cleanmake ARCH=arm CROSS_COMPILE=arm-angstrom-linux-gnueabi- u-boot.udfu
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -