use TMPDIR instead of custom directory.

This commit is contained in:
Hideki Sekine 2018-08-14 22:38:27 +09:00
parent 5c654f27b7
commit 62b3935298

View File

@ -14,7 +14,7 @@
ifneq (,$(filter $(TARGET),thumbv6m-none-eabi thumbv7em-none-eabi thumbv7em-none-eabihf thumbv7m-none-eabi))
# We need to be outside of 'src' dir in order to run cargo
WORK_DIR := $(RUST_TEST_TMPDIR)/run-make/$(TARGET)
WORK_DIR := $(TMPDIR)
HERE := $(shell pwd)
CRATE := cortex-m