ia64/xen-unstable

view freebsd-5.3-xen-sparse/conf/Makefile.i386-xen @ 7238:971e7c7411b3

Raise an exception if an error appears on the pipes to our children, and make
sure that the child's pipes are closed even under that exception. Move the
handling of POLLHUP to the end of the loop, so that we guarantee to read any
remaining data from the child if POLLHUP and POLLIN appear at the same time.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
author emellor@ewan
date Thu Oct 06 10:13:11 2005 +0100 (2005-10-06)
parents a01199a95070
children
line source
1 # Makefile.i386 -- with config changes.
2 # Copyright 1990 W. Jolitz
3 # from: @(#)Makefile.i386 7.1 5/10/91
4 # $FreeBSD: src/sys/conf/Makefile.i386,v 1.259 2003/04/15 21:29:11 phk Exp $
5 #
6 # Makefile for FreeBSD
7 #
8 # This makefile is constructed from a machine description:
9 # config machineid
10 # Most changes should be made in the machine description
11 # /sys/i386/conf/``machineid''
12 # after which you should do
13 # config machineid
14 # Generic makefile changes should be made in
15 # /sys/conf/Makefile.i386
16 # after which config should be rerun for all machines.
17 #
19 # Which version of config(8) is required.
20 %VERSREQ= 500013
22 STD8X16FONT?= iso
26 .if !defined(S)
27 .if exists(./@/.)
28 S= ./@
29 .else
30 S= ../../..
31 .endif
32 .endif
33 .include "$S/conf/kern.pre.mk"
34 M= i386-xen
35 MKMODULESENV+= MACHINE=i386-xen
36 INCLUDES+= -I../../include/xen-public
37 %BEFORE_DEPEND
39 %OBJS
41 %FILES.c
43 %FILES.s
45 %FILES.m
47 %CLEAN
49 %RULES
51 .include "$S/conf/kern.post.mk"