mirror of
https://github.com/hathach/tinyusb.git
synced 2025-02-11 18:40:45 +00:00
D5035-01: more natural Makefile variable use
This commit is contained in:
parent
a2379060b6
commit
f92fe1e23e
@ -13,11 +13,9 @@ CFLAGS += \
|
||||
-DD5035_01=1 \
|
||||
-DBOARD_NAME="\"D5035-01\""
|
||||
|
||||
ifdef HWREV
|
||||
CFLAGS += -DHWREV=$(HWREV)
|
||||
else
|
||||
CFLAGS += -DHWREV=1
|
||||
endif
|
||||
HWREV ?= 1
|
||||
|
||||
CFLAGS += -DHWREV=$(HWREV)
|
||||
|
||||
# All source paths should be relative to the top level.
|
||||
LD_FILE = hw/bsp/$(BOARD)/same51j19a_flash.ld
|
||||
|
Loading…
x
Reference in New Issue
Block a user