mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-16 10:43:29 +00:00
Makefile: improve gen-device* commands
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
all: tgo
|
all: tgo
|
||||||
tgo: build/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
|
TARGET ?= unix
|
||||||
|
|
||||||
@@ -51,7 +51,7 @@ fmt:
|
|||||||
@go fmt . ./src/examples/test
|
@go fmt . ./src/examples/test
|
||||||
@go fmt ./src/runtime/*.go
|
@go fmt ./src/runtime/*.go
|
||||||
|
|
||||||
gen-device: gen-device-nrf
|
gen-device: gen-device-nrf gen-device-avr
|
||||||
|
|
||||||
gen-device-nrf:
|
gen-device-nrf:
|
||||||
./tools/gen-device-svd.py lib/nrfx/mdk/ src/device/nrf/
|
./tools/gen-device-svd.py lib/nrfx/mdk/ src/device/nrf/
|
||||||
|
|||||||
Reference in New Issue
Block a user