Build: Move platform related buid flags to platform Makefile
This commit was merged in pull request #3.
	This commit is contained in:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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/
 | 
			
		||||
 
 | 
			
		||||
@@ -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/
 | 
			
		||||
 
 | 
			
		||||
@@ -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/
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user