摘要:
#!/bin/bash # 需要直到执行成功的命令
command="repo sync" $command # 返回值赋给 $result
result=$?
echo "result = "$result until [ $result -eq 0 ]
do
echo "retry"
$command
result=$?
done 阅读全文
摘要:
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-$( 阅读全文