Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
587 B
Makefile
Raw Normal View History

include ../tools.mk
2020-01-14 00:42:19 +01:00
# only-thumb
# How to run this
# $ ./x.py clean
# $ ./x.py test --target thumbv7m-none-eabi tests/run-make
# For cargo setting
export RUSTC := $(RUSTC_ORIGINAL)
export LD_LIBRARY_PATH := $(HOST_RPATH_DIR)
# We need to be outside of 'src' dir in order to run cargo
export WORK_DIR := $(TMPDIR)
export HERE := $(shell pwd)
## clean up unused env variables which might cause harm.
2018-10-16 21:42:42 +09:00
unexport RUSTC_LINKER
unexport RUSTC_BOOTSTRAP
unexport RUST_BUILD_STAGE
unexport RUST_TEST_THREADS
unexport RUST_TEST_TMPDIR
unexport AR
unexport CC
unexport CXX
all:
bash script.sh