Skip to content

Commit 6597439

Browse files
committed
Fix various pathnames.
1 parent 5e0ef2a commit 6597439

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

Makefile.in

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -330,14 +330,14 @@ LLVMEXT_LIBS := $(CFG_LLVM_LDFLAGS) $(CFG_LLVM_LIBS)
330330
# Standard library variables
331331
######################################################################
332332

333-
STDLIB_CRATE := lib/std.rc
333+
STDLIB_CRATE := $(S)src/lib/std.rc
334334
STDLIB_INPUTS := $(wildcard $(addprefix $(S)src/lib/,*.rc *.rs */*.rs))
335335

336336
######################################################################
337337
# rustc crate variables
338338
######################################################################
339339

340-
COMPILER_CRATE := comp/rustc.rc
340+
COMPILER_CRATE := $(S)src/comp/rustc.rc
341341
COMPILER_INPUTS := $(wildcard $(addprefix $(S)src/comp/, \
342342
rustc.rc *.rs */*.rs))
343343

@@ -390,41 +390,41 @@ boot/version.ml: $(MKFILES)
390390

391391

392392

393-
boot/$(CFG_STDLIB): $(S)src/$(STDLIB_CRATE) $(STDLIB_INPUTS) \
393+
boot/$(CFG_STDLIB): $(STDLIB_CRATE) $(STDLIB_INPUTS) \
394394
boot/rustboot$(X) $(MKFILES)
395395
@$(call E, compile: $@)
396396
$(BOOT) -shared -o $@ $<
397397

398-
stage0/$(CFG_STDLIB): $(S)src/$(STDLIB_CRATE) $(STDLIB_INPUTS) \
398+
stage0/$(CFG_STDLIB): $(STDLIB_CRATE) $(STDLIB_INPUTS) \
399399
stage0/rustc$(X) $(MKFILES)
400400
@$(call E, compile: $@)
401401
$(STAGE0) -shared -o $@ $<
402402

403-
stage1/$(CFG_STDLIB): $(S)src/$(STDLIB_CRATE) $(STDLIB_INPUTS) \
403+
stage1/$(CFG_STDLIB): $(STDLIB_CRATE) $(STDLIB_INPUTS) \
404404
stage1/rustc$(X) $(MKFILES)
405405
@$(call E, compile: $@)
406406
$(STAGE1) -shared -o $@ $<
407407

408-
stage2/$(CFG_STDLIB): $(S)src/$(STDLIB_CRATE) $(STDLIB_INPUTS) \
408+
stage2/$(CFG_STDLIB): $(STDLIB_CRATE) $(STDLIB_INPUTS) \
409409
stage2/rustc$(X) $(MKFILES)
410410
@$(call E, compile: $@)
411411
$(STAGE2) -shared -o $@ $<
412412

413413

414414

415-
stage0/rustc$(X): $(S)src/$(COMPILER_CRATE) $(COMPILER_INPUTS) \
415+
stage0/rustc$(X): $(COMPILER_CRATE) $(COMPILER_INPUTS) \
416416
$(BREQ)
417417
@$(call E, compile: $@)
418418
$(BOOT) -minimal -o $@ $<
419419
$(Q)chmod 0755 $@
420420

421-
stage1/rustc$(X): $(S)src/$(COMPILER_CRATE) $(COMPILER_INPUTS) \
421+
stage1/rustc$(X): $(COMPILER_CRATE) $(COMPILER_INPUTS) \
422422
$(SREQ0) stage0/$(CFG_STDLIB)
423423
@$(call E, compile: $@)
424424
$(STAGE0) -o $@ $<
425425
$(Q)chmod 0755 $@
426426

427-
stage2/rustc$(X): $(S)src/$(COMPILER_CRATE) $(COMPILER_INPUTS) \
427+
stage2/rustc$(X): $(COMPILER_CRATE) $(COMPILER_INPUTS) \
428428
$(SREQ1) stage1/$(CFG_STDLIB)
429429
@$(call E, compile: $@)
430430
$(STAGE1) -o $@ $<
@@ -873,7 +873,7 @@ compile-check: tidy \
873873
%.out: %.out.tmp
874874
$(Q)mv $< $@
875875

876-
test/run-pass/%.out.tmp: test/run-pass/%$(CFG_EXE_SUFFIX) rt/$(CFG_RUNTIME)
876+
test/run-pass/%.out.tmp: test/run-pass/%$(X) rt/$(CFG_RUNTIME)
877877
$(Q)rm -f $<.tmp
878878
@$(call E, run: $@)
879879
$(Q)$(call T, $<) > $@

0 commit comments

Comments
 (0)