clean up LD_FILE using $(BOARD)

make it easier to duplicate bsp
This commit is contained in:
hathach
2020-03-07 17:49:30 +07:00
parent 800330cdf0
commit 3ea95c2ab6
23 changed files with 23 additions and 23 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ CFLAGS += \
CFLAGS += -Wno-error=undef
# All source paths should be relative to the top level.
LD_FILE = hw/bsp/metro_m4_express/samd51g19a_flash.ld
LD_FILE = hw/bsp/$(BOARD)/samd51g19a_flash.ld
SRC_C += \
hw/mcu/microchip/samd/asf4/samd51/gcc/gcc/startup_samd51.c \