mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
zpcictl is used to manage PCI devices on z Systems. In this first version it is mainly used to handle erroneous PCI devices by changing their state and make those changes known to the SE. Log data, such as S.M.A.R.T. data for NVMe devices, is sent alongside those state changes. The state change is issued by sending data via the PCI 'report_error' sysfs attribute. It's a binary attribute which will cause the host to send an Adapter Notification Event. Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
19 lines
397 B
Makefile
19 lines
397 B
Makefile
include ../common.mak
|
|
|
|
all: zpcictl
|
|
|
|
libs = $(rootdir)/libutil/libutil.a
|
|
|
|
zpcictl: zpcictl.o $(libs)
|
|
|
|
install: all
|
|
$(INSTALL) -d -m 755 $(DESTDIR)$(BINDIR) $(DESTDIR)$(MANDIR)/man8
|
|
$(INSTALL) -g $(GROUP) -o $(OWNER) -m 755 zpcictl $(DESTDIR)$(BINDIR)
|
|
$(INSTALL) -g $(GROUP) -o $(OWNER) -m 644 zpcictl.8 \
|
|
$(DESTDIR)$(MANDIR)/man8
|
|
|
|
clean:
|
|
rm -f *.o *~ zpcictl core
|
|
|
|
.PHONY: all install clean
|