petalinux-config --get-hw-description=
.
报错
[INFO] sourcing bitbake
ERROR: Failed to source bitbake
ERROR: Failed to config project.
ERROR: Get hw description Failed!.
vi ./build/config.log
Run devtool --help for further details.
OpenEmbedded requires 'python' to be python v2 (>= 2.7.3), not python v3.
Please set up python v2 as your default 'python' interpreter.
ERROR: Failed to source bitbake
python版本不对,在config.log中会有提示,应该将python版本设置为2.xx,而不是3.xx
将/usr/bin/python指向python2.7(先将之前指向3.x的软连接删除,然后建立新的指向2.7的软连接)
能正常config , build。
还有一个附带发现的问题,