[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH hurd 27/30] hurd: add intranpayload functions to all hurd typ
From: |
Samuel Thibault |
Subject: |
Re: [PATCH hurd 27/30] hurd: add intranpayload functions to all hurd types |
Date: |
Fri, 12 Dec 2014 10:33:12 +0100 |
User-agent: |
Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30) |
Justus Winter, le Fri 12 Dec 2014 10:21:43 +0100, a écrit :
> Hm. Maybe we can check whether we're building server stubs, and only
> apply the payload magic then. Gnumach does something similar with the
> KERNEL_SERVER macro. Indeed, we could simply do:
>
> diff --git a/Makeconf b/Makeconf
> index 5439913..ed2f6d0 100644
> --- a/Makeconf
> +++ b/Makeconf
> @@ -546,6 +546,7 @@ MIGCOMFLAGS := -subrprefix __
>
> %.sdefsi %.sdefs.d: %.defs
> $(CPP) $(CPPFLAGS) $(MIGSFLAGS) $($*-MIGSFLAGS) -DSERVERPREFIX=S_ \
> + -DHURD_SERVER=1 \
Indeed, that would limit the unexpected introduction of the use of
ports_payload_get_name to the hurd source repository.
Samuel