m-tmatma / yocto-raspberry-pi

yocto for raspberry pi
0 stars 0 forks source link

yocto ubuntu memo #22

Open m-tmatma opened 4 years ago

m-tmatma commented 4 years ago
export MACHINE=raspberrypi3
source oe-init-build-env build-rpi
bitbake-layers remove-layer meta-yocto-bsp
bitbake-layers add-layer ../meta-openembedded/meta-oe
bitbake-layers add-layer ../meta-openembedded/meta-multimedia
bitbake-layers add-layer ../meta-openembedded/meta-python
bitbake-layers add-layer ../meta-openembedded/meta-networking
bitbake-layers add-layer ../meta-qt5
bitbake-layers add-layer ../meta-raspberrypi
bitbake-layers add-layer ../meta-rpi
bitbake console-image
m-tmatma commented 4 years ago

local.conf

LICENSE_FLAGS_WHITELIST += "commercial" 

http://mickey-happygolucky.hatenablog.com/entry/2015/04/07/004903

WARNING: Host distribution "Ubuntu-16.04" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
Loading cache: 100% |#########################################################################################################################################| ETA:  00:00:00
Loaded 2483 entries from dependency cache.
Parsing recipes: 100% |#######################################################################################################################################| Time: 00:00:00
Parsing of 1937 .bb files complete (1929 cached, 8 parsed). 2490 targets, 145 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
ERROR: Nothing PROVIDES 'libav' (but /home/tsuchiyama/yocto-raspberry-pi/poky/meta-raspberrypi/recipes-multimedia/omxplayer/omxplayer_git.bb DEPENDS on or otherwise requires it)
ERROR: ffmpeg PROVIDES libav but was skipped: because it has a restricted license not whitelisted in LICENSE_FLAGS_WHITELIST
NOTE: Runtime target 'omxplayer' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['omxplayer', 'libav']
ERROR: Required build target 'console-image' has no buildable providers.
Missing or unbuildable dependency chain was: ['console-image', 'omxplayer', 'libav']