From 794a9c202f0be7a4f0ac70a583c8d2bb970b04ac Mon Sep 17 00:00:00 2001 From: sago35 Date: Mon, 24 Aug 2020 20:31:03 +0900 Subject: [PATCH] Fix smoke-test unless avr-gcc installed --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 56ce277..fd5e4bc 100644 --- a/Makefile +++ b/Makefile @@ -129,8 +129,10 @@ smoke-test: @md5sum ./build/test.hex tinygo build -size short -o ./build/test.hex -target=circuitplay-express ./examples/ws2812 @md5sum ./build/test.hex +ifneq ($(AVR), 0) tinygo build -size short -o ./build/test.hex -target=digispark ./examples/ws2812 @md5sum ./build/test.hex +endif tinygo build -size short -o ./build/test.hex -target=trinket-m0 ./examples/bme280/main.go @md5sum ./build/test.hex tinygo build -size short -o ./build/test.hex -target=circuitplay-express ./examples/microphone/main.go