Yocto Version :
DISTRO_VERSION = "3.4+snapshot-${METADATA_REVISION}"
Ubuntu Version:
ubuntu18.04
ubuntu20.04
编译过程:
source oe-init-build-env
bitbake core-image-minimal
编译到libsdl2-native时,do_configure报错:
ERROR: Task (virtual:native:/home/cambricon/work/yocto/poky/meta/recipes-graphics/libsdl2/libsdl2_2.0.18.bb:do_configure) failed with exit code '1'
解决办法:使用ubuntu自带的libsdl绕过这个编译选项:
修改build/conf/local.conf,
# By default libsdl2-native will be built, if you want to use your host's libSDL instead of
# the minimal libsdl built by libsdl2-native then uncomment the ASSUME_PROVIDED line below.
ASSUME_PROVIDED += "libsdl2-native"