• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
梦想照进灵魂
博客园    首页    新随笔    联系   管理    订阅  订阅
2012年8月16日
直到执行成功 - 脚本
摘要: #!/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)
Real -- S3C6410简单android实验 hello(参考老罗的android之旅)!
摘要: 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)
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3