Skip to content

Commit 10395f3

Browse files
committed
change variable definition order (basic thing first).
1 parent 62b3935 commit 10395f3

File tree

1 file changed

+4
-3
lines changed
  • src/test/run-make/thumb-none-cortex-m

1 file changed

+4
-3
lines changed

src/test/run-make/thumb-none-cortex-m/Makefile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,18 @@
1313
# See https://stackoverflow.com/questions/7656425/makefile-ifeq-logical-or
1414
ifneq (,$(filter $(TARGET),thumbv6m-none-eabi thumbv7em-none-eabi thumbv7em-none-eabihf thumbv7m-none-eabi))
1515

16+
# For cargo setting
17+
RUSTC := $(RUSTC_ORIGINAL)
18+
LD_LIBRARY_PATH := $(HOST_RPATH_DIR)
1619
# We need to be outside of 'src' dir in order to run cargo
1720
WORK_DIR := $(TMPDIR)
21+
1822
HERE := $(shell pwd)
1923

2024
CRATE := cortex-m
2125
CRATE_URL := https://github.com/rust-embedded/cortex-m
2226
CRATE_SHA1 := a448e9156e2cb1e556e5441fd65426952ef4b927 # 0.5.0
2327

24-
RUSTC := $(RUSTC_ORIGINAL)
25-
LD_LIBRARY_PATH := $(HOST_RPATH_DIR)
26-
2728
all:
2829
env
2930
mkdir -p $(WORK_DIR)

0 commit comments

Comments
 (0)