From fa6c8f3acbfdf98fae2f0018792102424f07eeb1 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Tue, 22 Mar 1994 19:43:11 +0000 Subject: Formerly Makeconf.~27~ --- Makeconf | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/Makeconf b/Makeconf index a3a43219..bdffff1d 100644 --- a/Makeconf +++ b/Makeconf @@ -6,7 +6,13 @@ all: hurdinst := /home/hm1/hurdinst # This is the directory which serves as root for the Hurd. -hurdroot := /home/hm1/hurdroot +hostname := $(shell hostname) +hurdroot-douglas.gnu.ai.mit.edu = /home/hm2/hurdroot +hurdroot-ernst.gnu.ai.mit.edu = home/hm1/hurdroot +hurdroot := $(hurdroot-$(hostname)) + +# This is the device with the filesystem mounted as $(hurdroot) +hurdrootdev := /dev/hd0f # This is the directory containing the top-level Hurd source (and this file). hurdsource := /home/hm1/gnu/hurd @@ -43,6 +49,20 @@ $(CC) -nostdlib -e __start $(ldflags) -o $@ $(CFLAGS) $(startup) \ $(OBJS) $(LIBS) $(libthreads) $(libc) $(libgcc) endef + +# Mounting $(hurdroot) +ifeq ($(hurdroot),) +$(hurdroot): force + echo Cannot do install on this machine. + false +else +$(hurdroot): $(hurdroot)/mounted +$(hurdroot)/mounted: + fsck -p $(hurdrootdev) + mount $(hurdrootdev) +endif + + # Making a snapshot lndist: $(DIST_FILES) $(hurdsource)/hurd-snap/$(dir) -- cgit v1.2.3