/************************************************************************
* I.MX6 make menuconfig进入x86模式
* 说明:
* make menuconfig不会自动进入arm内核配置模式,总是进入x86内核模式。
* 左栋帮忙解决。
*
* 2017-4-6 深圳 南山平山村 曾剑锋
***********************************************************************/ 一、现象:
. make menuconfig
.config - Linux/x86 3.14. Kernel Configuration
──────────────────────────────────────────────────────────────────────────────
┌──────────────── Linux/x86 3.14. Kernel Configuration ─────────────────┐
│ Arrow keys navigate the menu. <Enter> selects submenus ---> (or empty │
│ submenus ----). Highlighted letters are hotkeys. Pressing <Y> │
│ includes, <N> excludes, <M> modularizes features. Press <Esc><Esc> to │
│ exit, <?> for Help, </> for Search. Legend: [*] built-in [ ] │
│ ┌─────────────────────────────────────────────────────────────────────┐ │
│ │ [*] -bit kernel (NEW) │ │
│ │ General setup ---> │ │
│ │ [*] Enable loadable module support ---> │ │
│ │ [*] Enable the block layer ---> │ │
│ │ Processor type and features ---> │ │
│ │ Power management and ACPI options ---> │ │
│ │ Bus options (PCI etc.) ---> │ │
│ │ Executable file formats / Emulations ---> │ │
│ │ < > Intel System On Chip IOSF Sideband support (NEW) │ │
│ │ [*] Networking support ---> │ │
│ └────┴(+)─────────────────────────────────────────────────────────────┘ │
├─────────────────────────────────────────────────────────────────────────┤
│ <Select> < Exit > < Help > < Save > < Load > │
└─────────────────────────────────────────────────────────────────────────┘ . make menuconfig ARCH=arm CROSS_COMPILE=`pwd`/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-
.config - Linux/arm 3.14. Kernel Configuration
──────────────────────────────────────────────────────────────────────────────
┌──────────────── Linux/arm 3.14. Kernel Configuration ─────────────────┐
│ Arrow keys navigate the menu. <Enter> selects submenus ---> (or empty │
│ submenus ----). Highlighted letters are hotkeys. Pressing <Y> │
│ includes, <N> excludes, <M> modularizes features. Press <Esc><Esc> to │
│ exit, <?> for Help, </> for Search. Legend: [*] built-in [ ] │
│ ┌─────────────────────────────────────────────────────────────────────┐ │
│ │ -*- Patch physical to virtual translations at runtime │ │
│ │ General setup ---> │ │
│ │ [*] Enable loadable module support ---> │ │
│ │ [*] Enable the block layer ---> │ │
│ │ System Type ---> │ │
│ │ [ ] FIQ Mode Serial Debugger (NEW) │ │
│ │ Bus support ---> │ │
│ │ Kernel Features ---> │ │
│ │ Boot options ---> │ │
│ │ CPU Power Management ---> │ │
│ └────┴(+)─────────────────────────────────────────────────────────────┘ │
├─────────────────────────────────────────────────────────────────────────┤
│ <Select> < Exit > < Help > < Save > < Load > │
└─────────────────────────────────────────────────────────────────────────┘ 二、解决办法:
cat ~/.bashrc
...
export ARCH=arm
export CROSS_COMPILE=/home/zengjf/myandroid/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-

最新文章

  1. (转)CentOS下开机启动查看管理命令:chkconfig用法
  2. JQuery,拼接字符串问题(求助)
  3. BOM (Browser Object Model) 浏览器对象模型
  4. BZOJ-1927 星际竞速 最小费用最大流+拆点+不坑建图
  5. eclipse不正常编译导致错误:Access denied for user &#39;root&#39;@&#39;localhost&#39; (using password: YES)
  6. C++11多线程教学(二)
  7. 云计算之路-阿里云上:docker swarm 集群再次出现故障
  8. 坚定关于考研或者工作的决定:work
  9. 【python小工具】我在bilibili个人资料里控制家里的电脑
  10. JAVA中Integer的==和equals注意
  11. Nvme固体硬盘Intel750,SM961分别使用一段时间以后对比
  12. vue--移动端兼容问题
  13. TCP加速锐速SS(ServerSpeeder)破解版一键安装
  14. SqlServer中的数据库分类
  15. python 游戏(猜单词Hangman)
  16. 使用Newtonsoft进行JSON序列化时将枚举序列化为字符串的方法
  17. delphi image控件上画矩形的问题
  18. 为什么程序员老在改 Bug,就不能一次改好吗?
  19. E470 外放没声音问题解决
  20. Nginx.PHP配置Smarty

热门文章

  1. 标准c字符和字符串的使用方法
  2. Map中object转换成boolean类型
  3. window + document + height
  4. android开发之网络棋牌类在线游戏开发心得(服务器端、Java) 好文章值得收藏
  5. Oracle索引表
  6. Oracle索引(2)索引的修改与维护
  7. $Android设置TextView的字体
  8. git 分支合并处理
  9. yield 表达式形式的应用
  10. Android编译系统简要介绍【转】