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:
parent
4bcb353f89
commit
b7943900fc
@ -1,5 +1,5 @@
|
||||
MODULE = board
|
||||
|
||||
DIRS = $(RIOTBOARD)/msba2-common
|
||||
DIRS = $(RIOTBOARD)/common/msba2
|
||||
|
||||
include $(RIOTBASE)/Makefile.base
|
||||
|
@ -1 +1 @@
|
||||
include $(RIOTBOARD)/msba2-common/Makefile.dep
|
||||
include $(RIOTBOARD)/common/msba2/Makefile.dep
|
||||
|
@ -1,3 +1,3 @@
|
||||
USEMODULE += msba2-common
|
||||
USEMODULE += boards_common_msba2
|
||||
|
||||
include $(RIOTBOARD)/msba2-common/Makefile.include
|
||||
include $(RIOTBOARD)/common/msba2/Makefile.include
|
||||
|
@ -1,4 +1,4 @@
|
||||
MODULE = msba2-common
|
||||
MODULE = boards_common_msba2
|
||||
|
||||
DIRS = drivers
|
||||
|
@ -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
|
3
boards/common/msba2/drivers/Makefile
Normal file
3
boards/common/msba2/drivers/Makefile
Normal file
@ -0,0 +1,3 @@
|
||||
MODULE = boards_common_msba2-drivers
|
||||
|
||||
include $(RIOTBASE)/Makefile.base
|
@ -1,3 +0,0 @@
|
||||
MODULE = msba2-common-drivers
|
||||
|
||||
include $(RIOTBASE)/Makefile.base
|
@ -1,5 +1,5 @@
|
||||
MODULE = board
|
||||
|
||||
DIRS = $(RIOTBOARD)/msba2-common
|
||||
DIRS = $(RIOTBOARD)/common/msba2
|
||||
|
||||
include $(RIOTBASE)/Makefile.base
|
||||
|
@ -1 +1 @@
|
||||
include $(RIOTBOARD)/msba2-common/Makefile.dep
|
||||
include $(RIOTBOARD)/common/msba2/Makefile.dep
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user