From eadd22d3da5ab76f4f9083f10d8cace9ead1b8b1 Mon Sep 17 00:00:00 2001 From: Samuel Thibault <samuel.thibault@ens-lyon.org> Date: Sun, 15 Nov 2020 21:20:37 +0100 Subject: 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. --- libmachdev/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'libmachdev') 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 -- cgit v1.2.3