[nordic] move vendor code to external
This commit is contained in:
12
external/platform/nrf51/rules.mk
vendored
Normal file
12
external/platform/nrf51/rules.mk
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
LOCAL_DIR := $(GET_LOCAL_DIR)
|
||||
|
||||
MODULE := $(LOCAL_DIR)
|
||||
|
||||
GLOBAL_INCLUDES += $(LOCAL_DIR)
|
||||
|
||||
MODULE_SRCS += \
|
||||
$(LOCAL_DIR)/system_nrf51.c \
|
||||
|
||||
|
||||
include make/module.mk
|
||||
|
||||
@@ -47,13 +47,13 @@ MODULE_SRCS += \
|
||||
$(LOCAL_DIR)/vectab.c \
|
||||
$(LOCAL_DIR)/gpio.c \
|
||||
$(LOCAL_DIR)/timer.c \
|
||||
$(LOCAL_DIR)/system_nrf51.c
|
||||
|
||||
|
||||
LINKER_SCRIPT += \
|
||||
$(BUILDDIR)/system-twosegment.ld
|
||||
|
||||
MODULE_DEPS += \
|
||||
platform/nrf51 \
|
||||
lib/cbuf
|
||||
|
||||
include make/module.mk
|
||||
|
||||
Reference in New Issue
Block a user