move -nostdlib (-nostartfiles) into board.mk

since nrf5x require the use of std startup. Add verbose mode to makefile
This commit is contained in:
hathach
2019-03-20 01:23:49 +07:00
parent d22dea4976
commit e6612ab82c
5 changed files with 40 additions and 12 deletions
+2 -1
View File
@@ -6,7 +6,8 @@ CFLAGS = \
-mabi=aapcs-linux \
-mcpu=cortex-m4 \
-mfloat-abi=hard \
-mfpu=fpv4-sp-d16
-mfpu=fpv4-sp-d16 \
-nostdlib
# All source paths should be relative to the top level.
LD_FILE = hw/bsp/stm32f407g_disc1/STM32F407VGTx_FLASH.ld