makefile clean up
allow board to define CROSS_COMPILE (default to arm gcc)
This commit is contained in:
@@ -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
|
||||
|
||||
|
@@ -6,6 +6,9 @@ CFLAGS += \
|
||||
|
||||
#-mmcu=msp430f5529
|
||||
|
||||
# Cross Compiler for MSP430
|
||||
CROSS_COMPILE = msp430-elf-
|
||||
|
||||
# All source paths should be relative to the top level.
|
||||
LD_FILE = hw/mcu/ti/msp430/msp430-gcc-support-files/include/msp430f5529.ld
|
||||
LDINC += $(TOP)/hw/mcu/ti/msp430/msp430-gcc-support-files/include
|
||||
|
Reference in New Issue
Block a user