Build: Move platform related buid flags to platform Makefile
This commit is contained in:
parent
58faaecbe9
commit
1ef95ea51c
@ -1,3 +1,6 @@
|
|||||||
|
CPU = cortex-m4
|
||||||
|
CROSS_COMPILE ?= arm-none-eabi-
|
||||||
|
|
||||||
NRF_C_OBJS = $(patsubst $(NRF_PATH)%,$(OBJ_DIR)/%,$(patsubst %.c,%.o,$(NRF_C_SRCS)))
|
NRF_C_OBJS = $(patsubst $(NRF_PATH)%,$(OBJ_DIR)/%,$(patsubst %.c,%.o,$(NRF_C_SRCS)))
|
||||||
|
|
||||||
NRF_A_SRCS = $(NRF_PATH)modules/nrfx/mdk/gcc_startup_nrf52.S
|
NRF_A_SRCS = $(NRF_PATH)modules/nrfx/mdk/gcc_startup_nrf52.S
|
||||||
|
@ -1,6 +1,3 @@
|
|||||||
CPU = cortex-m4
|
|
||||||
CROSS_COMPILE ?= arm-none-eabi-
|
|
||||||
|
|
||||||
NRF_PATH := nrf5sdk/
|
NRF_PATH := nrf5sdk/
|
||||||
INCLUDES += $(NRF_PATH)components/
|
INCLUDES += $(NRF_PATH)components/
|
||||||
INCLUDES += $(NRF_PATH)modules/nrfx/mdk/
|
INCLUDES += $(NRF_PATH)modules/nrfx/mdk/
|
||||||
|
@ -1,6 +1,3 @@
|
|||||||
CPU = cortex-m4
|
|
||||||
CROSS_COMPILE ?= arm-none-eabi-
|
|
||||||
|
|
||||||
NRF_PATH := nrf5sdk/
|
NRF_PATH := nrf5sdk/
|
||||||
INCLUDES += $(NRF_PATH)components/
|
INCLUDES += $(NRF_PATH)components/
|
||||||
INCLUDES += $(NRF_PATH)modules/nrfx/mdk/
|
INCLUDES += $(NRF_PATH)modules/nrfx/mdk/
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
CPU = cortex-m4
|
||||||
|
CROSS_COMPILE ?= arm-none-eabi-
|
||||||
|
|
||||||
NRF_PATH := nrf5sdk/
|
NRF_PATH := nrf5sdk/
|
||||||
INCLUDES += $(NRF_PATH)components/
|
INCLUDES += $(NRF_PATH)components/
|
||||||
INCLUDES += $(NRF_PATH)modules/nrfx/mdk/
|
INCLUDES += $(NRF_PATH)modules/nrfx/mdk/
|
||||||
|
Loading…
Reference in New Issue
Block a user