summaryrefslogtreecommitdiff
path: root/libmachdev
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2020-11-15 21:20:37 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2020-11-15 21:22:23 +0100
commiteadd22d3da5ab76f4f9083f10d8cace9ead1b8b1 (patch)
tree33a99ddd651851e2e58fc2ac3242b562d64a4be2 /libmachdev
parent499dc6c6dc00b136fd1734d3f8d23f37aa1fa6c9 (diff)
libmachdev: Fix missing backtranslation to port name
trivfs happens to set the payload for our control port, and we are not using payload translation for mach_i386, so we need to tell mig how to get back to the port name. * libmachdev/Makefile (mach_i386-MIGSFLAGS): Set -DMACH_PAYLOAD_TO_PORT=ports_payload_get_name.
Diffstat (limited to 'libmachdev')
-rw-r--r--libmachdev/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/libmachdev/Makefile b/libmachdev/Makefile
index 3cd278f2..f5dac9ba 100644
--- a/libmachdev/Makefile
+++ b/libmachdev/Makefile
@@ -29,5 +29,6 @@ LDLIBS += -lpthread -lmachuser
OBJS = $(SRCS:.c=.o) $(MIGSTUBS)
MIGSFLAGS = -imacros $(srcdir)/mig-mutate.h
device-MIGSFLAGS="-DMACH_PAYLOAD_TO_PORT=ports_payload_get_name"
+mach_i386-MIGSFLAGS="-DMACH_PAYLOAD_TO_PORT=ports_payload_get_name"
include ../Makeconf