编译 xboot

XBOOT 是一款功能强大、可移植性强、代码复用率高的嵌入式系统bootloader,还是一款SOC片上系统应用软件执行引擎,无需复杂的操作系统,APP上电直接执行。

1、clone 代码

git clone https://gitee.com/xboot/xboot.git

2、编译代码 , 使用 time 指令 记录编译时间, -j4 使用多线程编译

time make -j4 CROSS_COMPILE=arm-linux-gnueabihf- PLATFORM=arm32-realview

编译时间:

[LD] Linking ../output/xboot
[OC] Objcopying ../output/xboot.bin
copy from `../output/xboot' [elf32-littlearm] to `../output/xboot.bin' [binary]

real    1m33.914s
user    2m54.486s
sys    0m10.907s

 

3、清除 编译信息

make clean PLATFORM=arm32-v3s

 

2020年3月15日17:59:07

 

posted on 2020-03-15 17:59  所长  阅读(542)  评论(0编辑  收藏  举报

导航