diff options
| -rw-r--r-- | hw/bsp/d5035-01/board.mk | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/hw/bsp/d5035-01/board.mk b/hw/bsp/d5035-01/board.mk index 20ce0fac3..ac2146475 100644 --- a/hw/bsp/d5035-01/board.mk +++ b/hw/bsp/d5035-01/board.mk @@ -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 |
