diff options
| author | Jean Gressmann <[email protected]> | 2020-10-06 17:39:36 +0200 |
|---|---|---|
| committer | Jean Gressmann <[email protected]> | 2020-10-06 17:39:36 +0200 |
| commit | f92fe1e23e3e8689b6f001c5232a5960acdb3b7f (patch) | |
| tree | d5a2281e9bbf55bd76cb38526e0ec3cf45e7af3c | |
| parent | a2379060b6d47eec6d5e9499258bc62eb5a015d7 (diff) | |
D5035-01: more natural Makefile variable use
| -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 |
