From 59c76a371fd0522af1034a9e55efe0f44983a0a7 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Fri, 17 Jun 2011 18:36:09 -0700 Subject: [PATCH] Move creation of stageN/lib directories to the configure script --- configure | 1 + mk/stage0.mk | 1 - mk/stage1.mk | 1 - mk/stage2.mk | 1 - mk/stage3.mk | 1 - 5 files changed, 1 insertion(+), 4 deletions(-) diff --git a/configure b/configure index e4d79318269..3757d2b62c9 100755 --- a/configure +++ b/configure @@ -179,6 +179,7 @@ for i in \ rt rt/isaac rt/bigint rt/sync rt/test rt/arch/i386 \ rustllvm \ dl stage0 stage1 stage2 stage3 \ + stage0/lib stage1/lib stage2/lib stage3/lib \ test/run-pass test/run-fail test/compile-fail \ test/bench/99-bottles test/bench/shootout do diff --git a/mk/stage0.mk b/mk/stage0.mk index 5f32e2e7be5..b785e8bc0b8 100644 --- a/mk/stage0.mk +++ b/mk/stage0.mk @@ -1,6 +1,5 @@ stage0/rustc$(X): $(S)src/snapshots.txt $(S)src/etc/get-snapshot.py $(MKFILES) @$(call E, fetch: $@) - mkdir -p stage0/lib $(Q)$(S)src/etc/get-snapshot.py $(Q)touch $@ diff --git a/mk/stage1.mk b/mk/stage1.mk index e83d3ae1747..99d21a8139e 100644 --- a/mk/stage1.mk +++ b/mk/stage1.mk @@ -2,7 +2,6 @@ stage1/lib/$(CFG_STDLIB): $(STDLIB_CRATE) $(STDLIB_INPUTS) \ stage1/rustc$(X) stage0/lib/$(CFG_STDLIB) stage1/intrinsics.bc \ stage1/glue.o $(LREQ) $(MKFILES) @$(call E, compile_and_link: $@) - mkdir -p stage1/lib $(STAGE1) --shared -o $@ $< stage1/glue.o: stage1/rustc$(X) stage0/lib/$(CFG_STDLIB) stage1/intrinsics.bc \ diff --git a/mk/stage2.mk b/mk/stage2.mk index c581ace3b6a..25eea31ca4b 100644 --- a/mk/stage2.mk +++ b/mk/stage2.mk @@ -2,7 +2,6 @@ stage2/lib/$(CFG_STDLIB): $(STDLIB_CRATE) $(STDLIB_INPUTS) \ stage2/rustc$(X) stage1/lib/$(CFG_STDLIB) stage2/intrinsics.bc \ stage2/glue.o $(LREQ) $(MKFILES) @$(call E, compile_and_link: $@) - mkdir -p stage2/lib $(STAGE2) --shared -o $@ $< stage2/glue.o: stage2/rustc$(X) stage1/lib/$(CFG_STDLIB) stage2/intrinsics.bc \ diff --git a/mk/stage3.mk b/mk/stage3.mk index 5d167b8131e..34ac75a39e9 100644 --- a/mk/stage3.mk +++ b/mk/stage3.mk @@ -2,7 +2,6 @@ stage3/lib/$(CFG_STDLIB): $(STDLIB_CRATE) $(STDLIB_INPUTS) \ stage3/rustc$(X) stage2/lib/$(CFG_STDLIB) stage3/intrinsics.bc \ stage3/glue.o $(LREQ) $(MKFILES) @$(call E, compile_and_link: $@) - mkdir -p stage3/lib $(STAGE3) --shared -o $@ $< stage3/glue.o: stage3/rustc$(X) stage2/lib/$(CFG_STDLIB) stage3/intrinsics.bc \