diff options
author | Palmer Dabbelt <palmer@dabbelt.com> | 2017-08-20 13:57:26 -0700 |
---|---|---|
committer | Palmer Dabbelt <palmer@dabbelt.com> | 2017-08-20 13:57:26 -0700 |
commit | 3456b66f694a4631255b33d1cfb49c20937a27cf (patch) | |
tree | 31dd8113df49387f1c98588bec700b6ebb8d359a | |
parent | 5dafe66916f6a04586c16ee43575431f63677255 (diff) | |
download | riscv-gnu-toolchain-3456b66f694a4631255b33d1cfb49c20937a27cf.zip riscv-gnu-toolchain-3456b66f694a4631255b33d1cfb49c20937a27cf.tar.gz riscv-gnu-toolchain-3456b66f694a4631255b33d1cfb49c20937a27cf.tar.bz2 |
Add a "make report" phony target
This builds everything, runs the test suites, and then diffs against the
whitelists to make sure there aren't any new failures.
-rw-r--r-- | Makefile.in | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in index cea00b0..7bd78cd 100644 --- a/Makefile.in +++ b/Makefile.in @@ -59,6 +59,24 @@ all: @default_target@ newlib: stamps/build-gcc-newlib-stage2 linux: stamps/build-gcc-linux-stage2 +.PHONY: build-binutils build-gcc1 build-libc build-gcc2 build-qemu +build-binutils: stamps/build-binutils-@default_target@ +build-gcc%: stamps/build-gcc-@default_target@-stage% +ifeq (@default_target@,linux) +build-libc: $(patsubst %,stamps/build-glibc-linux-%,$(MULTLIB_NAMES)) +else +build-libc: build-newlib +endif +build-qemu: stamps/build-qemu + +.PHONY: check check-gcc +check: check-gcc +check-gcc: stamps/check-gcc-@default_target@ + +.PHONY: report report-gcc +report: report-gcc +report-gcc: report-gcc-@default_target@ + $(addprefix src/original-,$(PACKAGES)): mkdir -p src rm -rf $@ $(subst original-,,$@)-* |