blob: 540dc5d5fef24b7764a37200b8f789d2dc921530 [file] [log] [blame]
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
SRC_URI:append:fb-compute-singlehost = " file://ttyS2.conf"
OBMC_BMC_TTY = "ttyS4"
HOST_LOGGER_INST = "${@d.getVar('OBMC_HOST_INSTANCES', True)}"
HOST_LOGGER_INST_CNT = "${@sum([1 for item in d.getVar('HOST_LOGGER_INST', True).split() if item.isdigit()])}"
HOST_LOGGER_CONFS = "${@' '.join(['file://ttyS{}.conf'.format(i) for i in range(int(d.getVar('HOST_LOGGER_INST_CNT', True)) + 1) if 'ttyS{}'.format(i) != d.getVar('OBMC_BMC_TTY', True)])}"
SRC_URI:append:fb-compute-multihost = " ${HOST_LOGGER_CONFS}"