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 += "qt5-layer" 18*4882a593SmuzhiyunBBFILE_PATTERN_qt5-layer := "^${LAYERDIR}/" 19*4882a593Smuzhiyun 20*4882a593Smuzhiyun# Define the priority for recipes (.bb files) from this layer, 21*4882a593Smuzhiyun# choosing carefully how this layer interacts with all of the 22*4882a593Smuzhiyun# other layers. 23*4882a593Smuzhiyun 24*4882a593SmuzhiyunBBFILE_PRIORITY_qt5-layer = "7" 25*4882a593Smuzhiyun 26*4882a593Smuzhiyun# This should only be incremented on significant changes that will 27*4882a593Smuzhiyun# cause compatibility issues with other layers 28*4882a593SmuzhiyunLAYERVERSION_qt5-layer = "1" 29*4882a593Smuzhiyun 30*4882a593SmuzhiyunLAYERDEPENDS_qt5-layer = "core" 31*4882a593Smuzhiyun 32*4882a593SmuzhiyunLAYERSERIES_COMPAT_qt5-layer = "dunfell gatesgarth hardknott honister kirkstone langdale mickledore" 33*4882a593Smuzhiyun 34*4882a593SmuzhiyunLICENSE_PATH += "${LAYERDIR}/licenses" 35*4882a593Smuzhiyun 36*4882a593SmuzhiyunIMAGE_FEATURES[validitems] += "qtcreator-debug" 37*4882a593Smuzhiyun 38*4882a593SmuzhiyunQT_GIT_PROJECT ?= "qt" 39*4882a593SmuzhiyunQT_GIT ?= "git://code.qt.io/${QT_GIT_PROJECT}" 40*4882a593SmuzhiyunQT_GIT_PROTOCOL ?= "git" 41*4882a593SmuzhiyunQT_EDITION ?= "opensource" 42