mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 14:53:47 +08:00
boards: Remove -D__NuttX__ from the individual Make.defs
since it is defined globally in tools/Config.mk now Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
committed by
Petro Karashchenko
parent
0a37744826
commit
b0fa232918
@@ -147,7 +147,7 @@ Creating the project
|
||||
|
||||
set(AC_HW_FLAGS "-mcpu=cortex-m4 -mthumb -mfloat-abi=soft ")
|
||||
set(AC_HW_FLAGS "${AC_HW_FLAGS} -isystem ${NUTTX_PATH}/include")
|
||||
set(AC_HW_FLAGS "${AC_HW_FLAGS} -pipe -D__NuttX__")
|
||||
set(AC_HW_FLAGS "${AC_HW_FLAGS} -pipe")
|
||||
|
||||
set(AC_LINKER_FLAGS "--entry=__start -nostartfiles -nodefaultlibs -T${MCU_LINKER_SCRIPT}")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user