You've already forked meta-qcom-extras
mirror of
https://github.com/linux-msm/meta-qcom-extras.git
synced 2026-02-25 13:14:43 -08:00
OE RPB setup scripts have a generic EULA implementation that can be used with any BSP layer. This implementation is making a few assumptions: * the BSP layer requires EULA is conf/eula/$MACHINE exists * the user has accepted the EULA if ACCEPT_EULA_$MACHINE is set to 1 This commit implements these changes. Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
22 lines
810 B
Plaintext
22 lines
810 B
Plaintext
# We have a conf and classes directory, add to BBPATH
|
|
BBPATH .= ":${LAYERDIR}"
|
|
|
|
# We have a packages directory, add to BBFILES
|
|
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
|
|
${LAYERDIR}/recipes-*/*/*.bbappend"
|
|
|
|
BBFILE_COLLECTIONS += "qcom"
|
|
BBFILE_PATTERN_qcom := "^${LAYERDIR}/"
|
|
BBFILE_PRIORITY_qcom = "5"
|
|
|
|
QCOM_EULA_FILE = "${LAYERDIR}/conf/eula/${MACHINE}"
|
|
|
|
# Let us add layer-specific bbappends which are only applied when that
|
|
# layer is included in our configuration
|
|
# includes customization and/or backports
|
|
BBFILES += "${@' '.join('${LAYERDIR}/%s/recipes*/*/*.bbappend' % layer \
|
|
for layer in BBFILE_COLLECTIONS.split())}"
|
|
# Add layer-specific bb files too
|
|
BBFILES += "${@' '.join('${LAYERDIR}/%s/recipes*/*/*.bb' % layer \
|
|
for layer in BBFILE_COLLECTIONS.split())}"
|