blob: 540dc5d5fef24b7764a37200b8f789d2dc921530 [file] [log] [blame]
Patrick Williams6f746642021-08-06 07:40:55 -05001FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
Kumar Thangavel06911e32021-02-17 12:30:20 +05302
Kumar Thangavel03fcd262022-06-10 16:11:27 +05303SRC_URI:append:fb-compute-singlehost = " file://ttyS2.conf"
Delphine CC Chiu4072bb42023-07-26 13:38:58 +08004OBMC_BMC_TTY = "ttyS4"
Kumar Thangavel06911e32021-02-17 12:30:20 +05305
Delphine CC Chiu4072bb42023-07-26 13:38:58 +08006HOST_LOGGER_INST = "${@d.getVar('OBMC_HOST_INSTANCES', True)}"
7HOST_LOGGER_INST_CNT = "${@sum([1 for item in d.getVar('HOST_LOGGER_INST', True).split() if item.isdigit()])}"
8HOST_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)])}"
Kumar Thangavel03fcd262022-06-10 16:11:27 +05309
Delphine CC Chiu4072bb42023-07-26 13:38:58 +080010SRC_URI:append:fb-compute-multihost = " ${HOST_LOGGER_CONFS}"