Makefile: improve gen-device* commands
Этот коммит содержится в:
родитель
18b3e8d156
коммит
e389d38dec
1 изменённых файлов: 2 добавлений и 2 удалений
4
Makefile
4
Makefile
|
@ -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/
|
||||||
|
|
Загрузка…
Создание таблицы
Сослаться в новой задаче