Patrick Williams | 6f74664 | 2021-08-06 07:40:55 -0500 | [diff] [blame] | 1 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" |
Kumar Thangavel | 06911e3 | 2021-02-17 12:30:20 +0530 | [diff] [blame] | 2 | |
Kumar Thangavel | 03fcd26 | 2022-06-10 16:11:27 +0530 | [diff] [blame] | 3 | SRC_URI:append:fb-compute-singlehost = " file://ttyS2.conf" |
Delphine CC Chiu | 4072bb4 | 2023-07-26 13:38:58 +0800 | [diff] [blame] | 4 | OBMC_BMC_TTY = "ttyS4" |
Kumar Thangavel | 06911e3 | 2021-02-17 12:30:20 +0530 | [diff] [blame] | 5 | |
Delphine CC Chiu | 4072bb4 | 2023-07-26 13:38:58 +0800 | [diff] [blame] | 6 | HOST_LOGGER_INST = "${@d.getVar('OBMC_HOST_INSTANCES', True)}" |
| 7 | HOST_LOGGER_INST_CNT = "${@sum([1 for item in d.getVar('HOST_LOGGER_INST', True).split() if item.isdigit()])}" |
| 8 | 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)])}" |
Kumar Thangavel | 03fcd26 | 2022-06-10 16:11:27 +0530 | [diff] [blame] | 9 | |
Delphine CC Chiu | 4072bb4 | 2023-07-26 13:38:58 +0800 | [diff] [blame] | 10 | SRC_URI:append:fb-compute-multihost = " ${HOST_LOGGER_CONFS}" |