最佳观众
发布于

tina5sdk-bsp编译报错

sun8iw20p1 compile all(Kernel+modules+boot.img) successful

INFO: build dts ...
INFO: Prepare toolchain ...
removed '/home/zm/tina5sdk-bsp/out/t113/evb1_auto/buildroot/.board.dtb.d.dtc.tmp'
removed '/home/zm/tina5sdk-bsp/out/t113/evb1_auto/buildroot/.board.dtb.dts.tmp'
'/home/zm/tina5sdk-bsp/out/t113/kernel/build/arch/arm/boot/dts/.board.dtb.d.dtc.tmp' -> '/home/zm/tina5sdk-bsp/out/t113/evb1_auto/buildroot/.board.dtb.d.dtc.tmp'
'/home/zm/tina5sdk-bsp/out/t113/kernel/build/arch/arm/boot/dts/.board.dtb.dts.tmp' -> '/home/zm/tina5sdk-bsp/out/t113/evb1_auto/buildroot/.board.dtb.dts.tmp'
'/home/zm/tina5sdk-bsp/out/t113/kernel/staging/sunxi.dtb' -> '/home/zm/tina5sdk-bsp/out/t113/evb1_auto/buildroot/sunxi.dtb'
INFO: build rootfs ...
INFO: build buildroot ...
./build.sh: line 12: $'\r': command not found
: invalid option 13: set: -
set: usage: set [-abefhkmnptuvxBCHP] [-o option-name] [--] [arg ...]
./build.sh: line 14: $'\r': command not found
./build.sh: line 24: syntax error near unexpected token $'\r'' '/build.sh: line 24: make_ramfs_menuconfig()
ERROR: build buildroot Failed
INFO: build_buildroot_rootfs failed
执行./build.sh -d编译报错

浏览 (58)
点赞
收藏
2条评论
世玉轩
世玉轩
```bash ./build.sh: line 12: $'\r': command not found : invalid option 13: set: - set: usage: set [-abefhkmnptuvxBCHP] [-o option-name] [--] [arg ...] ./build.sh: line 14: $'\r': command not found ./build.sh: line 24: syntax error near unexpected token $'\r'' '/build.sh: line 24: make_ramfs_menuconfig() ERROR: build buildroot Failed ``` 我看这一段像是 终端 shell不支持语法,你用的是 我们教程内介绍的 ubuntu18 么?
点赞
评论
最佳观众
最佳观众
buildroot
点赞
评论