From 6da1f3967052df19c6e8708aa2a1ad6f5f363e02 Mon Sep 17 00:00:00 2001 From: whitequark Date: Mon, 17 Oct 2016 00:11:02 +0000 Subject: [PATCH] runtime: fix use of $(realpath) in Makefile. --- artiq/runtime/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/artiq/runtime/Makefile b/artiq/runtime/Makefile index 1c37c4ec0..c543b7d66 100644 --- a/artiq/runtime/Makefile +++ b/artiq/runtime/Makefile @@ -31,7 +31,7 @@ all: runtime.bin runtime.fbi .PHONY: $(RUSTOUT_DIRECTORY)/libruntime.a $(RUSTOUT_DIRECTORY)/libruntime.a: ksupport.elf - CARGO_TARGET_DIR=$(realpath ./cargo) \ + CARGO_TARGET_DIR=$(realpath .)/cargo \ cargo rustc --verbose \ --manifest-path $(realpath $(RUNTIME_DIRECTORY)/../runtime.rs/Cargo.toml) \ --target=or1k-unknown-none -- \ @@ -49,7 +49,7 @@ runtime.elf: $(OBJECTS) $(RUSTOUT_DIRECTORY)/libruntime.a .PHONY: $(RUSTOUT_DIRECTORY)/libksupport.a $(RUSTOUT_DIRECTORY)/libksupport.a: - CARGO_TARGET_DIR=$(realpath ./cargo) \ + CARGO_TARGET_DIR=$(realpath .)/cargo \ cargo rustc --verbose \ --manifest-path $(realpath $(RUNTIME_DIRECTORY)/../runtime.rs/libksupport/Cargo.toml) \ --target=or1k-unknown-none -- \