makefile clean up

allow board to define CROSS_COMPILE (default to arm gcc)
This commit is contained in:
hathach
2020-03-25 14:06:51 +07:00
parent 435485b524
commit d74a92bf45
4 changed files with 36 additions and 41 deletions

View File

@@ -5,6 +5,9 @@ CFLAGS += \
-nostdlib \
-DCFG_TUSB_MCU=OPT_MCU_VALENTYUSB_EPTRI
# Cross Compiler for RISC-V
CROSS_COMPILE = riscv-none-embed-
MCU_DIR = hw/mcu/fomu
BSP_DIR = hw/bsp/fomu