diff options
| author | Hideki Sekine <sekineh@me.com> | 2018-08-14 22:40:30 +0900 |
|---|---|---|
| committer | Hideki Sekine <sekineh@me.com> | 2018-08-14 22:40:30 +0900 |
| commit | 10395f31371880f8a2febc5e518ba142f283f707 (patch) | |
| tree | ce9f9155769db6eadec860caa580112a44d35ef4 | |
| parent | 62b3935298072c66a0052808ee55f93e4b7415b3 (diff) | |
| download | rust-10395f31371880f8a2febc5e518ba142f283f707.tar.gz rust-10395f31371880f8a2febc5e518ba142f283f707.zip | |
change variable definition order (basic thing first).
| -rw-r--r-- | src/test/run-make/thumb-none-cortex-m/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/test/run-make/thumb-none-cortex-m/Makefile b/src/test/run-make/thumb-none-cortex-m/Makefile index bee1b9c5f46..a267016efc2 100644 --- a/src/test/run-make/thumb-none-cortex-m/Makefile +++ b/src/test/run-make/thumb-none-cortex-m/Makefile @@ -13,17 +13,18 @@ # See https://stackoverflow.com/questions/7656425/makefile-ifeq-logical-or ifneq (,$(filter $(TARGET),thumbv6m-none-eabi thumbv7em-none-eabi thumbv7em-none-eabihf thumbv7m-none-eabi)) +# For cargo setting +RUSTC := $(RUSTC_ORIGINAL) +LD_LIBRARY_PATH := $(HOST_RPATH_DIR) # We need to be outside of 'src' dir in order to run cargo WORK_DIR := $(TMPDIR) + HERE := $(shell pwd) CRATE := cortex-m CRATE_URL := https://github.com/rust-embedded/cortex-m CRATE_SHA1 := a448e9156e2cb1e556e5441fd65426952ef4b927 # 0.5.0 -RUSTC := $(RUSTC_ORIGINAL) -LD_LIBRARY_PATH := $(HOST_RPATH_DIR) - all: env mkdir -p $(WORK_DIR) |
