摘要:
#!/bin/bash # 需要直到执行成功的命令
command="repo sync" $command # 返回值赋给 $result
result=$?
echo "result = "$result until [ $result -eq 0 ]
do
echo "retry"
$command
result=$?
done 阅读全文
posted @ 2012-08-16 20:57
梦想照进灵魂
阅读(123)
评论(0)
推荐(0)
摘要:
1. 实现kernel层驱动 1)修改arch/arm/Kconfig和driver/Kconfig,在menu "Device Drivers"和endmenu之间添加一行: source "drivers/hello/Kconfig" 2)添加hello.c hello.h Makefile Kconfig Readme 5 个文件Makefile:#
# Makefile for the input core drivers.
# # Each configuration option enables a list of files. obj-$( 阅读全文
posted @ 2012-08-16 13:45
梦想照进灵魂
阅读(317)
评论(0)
推荐(0)
浙公网安备 33010602011771号