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
@@ -17,7 +17,7 @@ CFLAGS += -Wno-error=nested-externs -Wno-error=strict-prototypes -Wno-error=unus
MCU_DIR = hw/mcu/nxp/lpcopen/lpc11uxx/lpc_chip_11uxx
# All source paths should be relative to the top level.
LD_FILE = hw/bsp/lpcxpresso11u37/lpc11u37.ld
LD_FILE = hw/bsp/$(BOARD)/lpc11u37.ld
SRC_C += \
$(MCU_DIR)/../gcc/cr_startup_lpc11xx.c \