标题: 关于U-boot中一些脚本的疑问
edisontang
新生入学
Rank: 1
注册用户



UID 101296
精华 0
积分 7(积分有什么用?)
帖子 33
阅读权限 10
注册 2004-11-16
状态 离线
发表于 2007-6-28 09:21  资料  个人空间  短消息  加为好友 
关于U-boot中一些脚本的疑问

1.在U-boot中的mkconfig脚本中有这么一段话
while [ $# -gt 0 ] ; do
case "$1" in
--) shift ; break ;;
-a) shift ; APPEND=yes ;;
*) break ;;
esac
done
请问这是什么意思,具体做了什么工作?

2.在U-boot中的Makefile中对于每个board,都有下面一句话
smdk2410_config : unconfig
@./mkconfig $(@:_config=) arm arm920t smdk2410 NULL s3c24x0

这里的$(@:_config=)究竟代表了什么?把这句话和上面的mkconfig脚本结合起来看,这些代码完成了什么样的功能?

顶部
 



当前时区 GMT+8, 现在时间是 2008-5-17 21:09

    Powered by Discuz! 5.5.0  © 2001-2007 Comsenz Inc.
Processed in 0.060969 second(s), 5 queries

清除 Cookies - 联系我们 - Linux伊甸园 - Archiver - WAP