Build: Move platform related buid flags to platform Makefile

This commit is contained in:
Thomas Klaehn 2020-03-26 06:26:26 +01:00
parent 58faaecbe9
commit 1ef95ea51c
4 changed files with 6 additions and 6 deletions

View File

@ -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_A_SRCS = $(NRF_PATH)modules/nrfx/mdk/gcc_startup_nrf52.S

View File

@ -1,6 +1,3 @@
CPU = cortex-m4
CROSS_COMPILE ?= arm-none-eabi-
NRF_PATH := nrf5sdk/
INCLUDES += $(NRF_PATH)components/
INCLUDES += $(NRF_PATH)modules/nrfx/mdk/

View File

@ -1,6 +1,3 @@
CPU = cortex-m4
CROSS_COMPILE ?= arm-none-eabi-
NRF_PATH := nrf5sdk/
INCLUDES += $(NRF_PATH)components/
INCLUDES += $(NRF_PATH)modules/nrfx/mdk/

View File

@ -1,3 +1,6 @@
CPU = cortex-m4
CROSS_COMPILE ?= arm-none-eabi-
NRF_PATH := nrf5sdk/
INCLUDES += $(NRF_PATH)components/
INCLUDES += $(NRF_PATH)modules/nrfx/mdk/