blob: 7af067ffbc3c8a59b31c03c8d68a7e900c07fcea [file] [log] [blame]
Brad Bishop86ee1cf2016-06-27 14:53:52 -04001SUMMARY = "OpenBMC PCIE slot detection utility"
2DESCRIPTION = "OpenBMC PCIE slot detection utility."
3PR = "r1"
4
5inherit skeleton-gdbus
Brad Bishop0fe80462016-08-17 20:27:37 -04006inherit obmc-phosphor-systemd
Brad Bishop86ee1cf2016-06-27 14:53:52 -04007
8SKELETON_DIR = "pciedetect"
Brad Bishop0fe80462016-08-17 20:27:37 -04009
10TMPL = "pcie-slot-detect@.service"
11TGTFMT = "obmc-chassis-start@{0}.target"
12INSTFMT = "pcie-slot-detect@{0}.service"
13FMT = "../${TMPL}:${TGTFMT}.wants/${INSTFMT}"
14
15SYSTEMD_SERVICE_${PN} += "pcie-slot-detect@.service"
16SYSTEMD_LINK_${PN} += "${@compose_list(d, 'FMT', 'OBMC_CHASSIS_INSTANCES')}"