1*4882a593Smuzhiyun# It really depends on order of the layers appearing in BBLAYERS 2*4882a593Smuzhiyun# variable in toplevel bblayers.conf file, where bitbake will search 3*4882a593Smuzhiyun# for .inc files and others where bitbake uses BBPATH since it will 4*4882a593Smuzhiyun# search the directories from first to last as specified in BBPATH 5*4882a593Smuzhiyun# Therefore if you want a given layer to be considered high priority 6*4882a593Smuzhiyun# for the .inc and .conf etc. then consider it adding at the beginning 7*4882a593Smuzhiyun# of BBPATH. For bblayers bitbake will use BBFILES_PRIORITY to resolve 8*4882a593Smuzhiyun# the recipe contention so the order of directories in BBFILES does 9*4882a593Smuzhiyun# not matter. 10*4882a593Smuzhiyun 11*4882a593Smuzhiyun# We have a conf and classes directory, append to BBPATH 12*4882a593SmuzhiyunBBPATH .= ":${LAYERDIR}" 13*4882a593Smuzhiyun 14*4882a593Smuzhiyun# We have a recipes directory, add to BBFILES 15*4882a593SmuzhiyunBBFILES += "${LAYERDIR}/recipes-*/*/*.bb ${LAYERDIR}/recipes-*/*/*.bbappend" 16*4882a593Smuzhiyun 17*4882a593SmuzhiyunBBFILE_COLLECTIONS += "multimedia-layer" 18*4882a593SmuzhiyunBBFILE_PATTERN_multimedia-layer := "^${LAYERDIR}/" 19*4882a593Smuzhiyun 20*4882a593SmuzhiyunLICENSE_PATH += "${LAYERDIR}/licenses" 21*4882a593Smuzhiyun 22*4882a593Smuzhiyun# Define the priority for recipes (.bb files) from this layer, 23*4882a593Smuzhiyun# choosing carefully how this layer interacts with all of the 24*4882a593Smuzhiyun# other layers. 25*4882a593Smuzhiyun 26*4882a593SmuzhiyunBBFILE_PRIORITY_multimedia-layer = "5" 27*4882a593Smuzhiyun 28*4882a593Smuzhiyun# This should only be incremented on significant changes that will 29*4882a593Smuzhiyun# cause compatibility issues with other layers 30*4882a593SmuzhiyunLAYERVERSION_multimedia-layer = "1" 31*4882a593Smuzhiyun 32*4882a593SmuzhiyunLAYERDEPENDS_multimedia-layer = "core openembedded-layer meta-python" 33*4882a593Smuzhiyun 34*4882a593SmuzhiyunLAYERSERIES_COMPAT_multimedia-layer = "kirkstone" 35