Makefile: improve gen-device* commands

This commit is contained in:
Ayke van Laethem
2018-09-13 00:55:49 +02:00
parent 18b3e8d156
commit e389d38dec
+2 -2
View File
@@ -3,7 +3,7 @@
all: tgo
tgo: build/tgo
.PHONY: all tgo run-test run-blinky run-blinky2 clean fmt gen-device gen-device-nrf
.PHONY: all tgo run-test run-blinky run-blinky2 clean fmt gen-device gen-device-nrf gen-device-avr
TARGET ?= unix
@@ -51,7 +51,7 @@ fmt:
@go fmt . ./src/examples/test
@go fmt ./src/runtime/*.go
gen-device: gen-device-nrf
gen-device: gen-device-nrf gen-device-avr
gen-device-nrf:
./tools/gen-device-svd.py lib/nrfx/mdk/ src/device/nrf/