1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

boards/msba2-based: move shared code to common/msba2

This commit is contained in:
Hauke Petersen 2017-11-16 12:15:04 +01:00
parent 4bcb353f89
commit b7943900fc
52 changed files with 15 additions and 14 deletions

View File

@ -1,5 +1,5 @@
MODULE = board
DIRS = $(RIOTBOARD)/msba2-common
DIRS = $(RIOTBOARD)/common/msba2
include $(RIOTBASE)/Makefile.base

View File

@ -1 +1 @@
include $(RIOTBOARD)/msba2-common/Makefile.dep
include $(RIOTBOARD)/common/msba2/Makefile.dep

View File

@ -1,3 +1,3 @@
USEMODULE += msba2-common
USEMODULE += boards_common_msba2
include $(RIOTBOARD)/msba2-common/Makefile.include
include $(RIOTBOARD)/common/msba2/Makefile.include

View File

@ -1,4 +1,4 @@
MODULE = msba2-common
MODULE = boards_common_msba2
DIRS = drivers

View File

@ -26,10 +26,11 @@ ifeq ($(PORT),)
endif
export FFLAGS = $(PORT) $(HEXFILE)
export INCLUDES += -I$(RIOTBOARD)/msba2-common/include -I$(RIOTBOARD)/msba2-common/drivers/include
INCLUDES += -I$(RIOTBOARD)/common/msba2/include
INCLUDES += -I$(RIOTBOARD)/common/msba2/drivers/include
export OFLAGS = -O ihex
export UNDEF += $(BINDIR)/cpu/startup.o
USEMODULE += msba2-common-drivers
USEMODULE += boards_common_msba2-drivers

View File

@ -0,0 +1,3 @@
MODULE = boards_common_msba2-drivers
include $(RIOTBASE)/Makefile.base

View File

@ -1,3 +0,0 @@
MODULE = msba2-common-drivers
include $(RIOTBASE)/Makefile.base

View File

@ -1,5 +1,5 @@
MODULE = board
DIRS = $(RIOTBOARD)/msba2-common
DIRS = $(RIOTBOARD)/common/msba2
include $(RIOTBASE)/Makefile.base

View File

@ -1 +1 @@
include $(RIOTBOARD)/msba2-common/Makefile.dep
include $(RIOTBOARD)/common/msba2/Makefile.dep

View File

@ -2,6 +2,6 @@ ifneq (,$(filter netdev_default gnrc_netdev_default,$(USEMODULE)))
USEMODULE += cc110x
endif
USEMODULE += msba2-common
USEMODULE += boards_common_msba2
include $(RIOTBOARD)/msba2-common/Makefile.include
include $(RIOTBOARD)/common/msba2/Makefile.include