mirror of https://git.eddie.sh/onyx/onyx.git
Bikeshed makefile more
This commit is contained in:
parent
2295fd97b4
commit
8ddda65909
2
Makefile
2
Makefile
|
@ -6,7 +6,7 @@ CARGO_FLAGS = --release
|
|||
BOSSA_FLAGS = -ewvRo 0x2000
|
||||
|
||||
TARGET_DIR = target
|
||||
TARGET_ARCH = $(shell cat $(CARGO_CONF) | grep -E '^target\s+=' | grep -Eo '"[^"]+"' | grep -Eo '[^"]+')
|
||||
TARGET_ARCH = $(shell grep -oP '^target\s+=\s"\K[\w\-]+' $(CARGO_CONF))
|
||||
|
||||
CARGO_BIN = $(TARGET_DIR)/$(TARGET_ARCH)/release/onyx
|
||||
FLASH_IMG = $(TARGET_DIR)/onyx.bin
|
||||
|
|
Loading…
Reference in New Issue