mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
* adapted Makefiles to core restructuring
This commit is contained in:
parent
1b2d192556
commit
0de960b038
18
Makefile.base
Normal file
18
Makefile.base
Normal file
@ -0,0 +1,18 @@
|
||||
ifeq ($(BOARD),msba2)
|
||||
INCLUDES += -I$(RIOTBOARD)/msba2/include/
|
||||
INCLUDES += -I$(RIOTBOARD)/msba2-common/include/
|
||||
INCLUDES += -I$(RIOTBOARD)/msba2-common/drivers/include/
|
||||
endif
|
||||
ifeq ($(BOARD),msb-430)
|
||||
INCLUDES += -I$(RIOTBOARD)/msb-430/include/
|
||||
INCLUDES += -I$(RIOTBOARD)/msb-430-common/include/
|
||||
INCLUDES += -I$(RIOTBOARD)/msb-430-common/drivers/include/
|
||||
endif
|
||||
ifeq ($(BOARD),msb-430h)
|
||||
INCLUDES += -I$(RIOTBOARD)/msb-430h/include/
|
||||
INCLUDES += -I$(RIOTBOARD)/msb-430-common/include/
|
||||
INCLUDES += -I$(RIOTBOARD)/msb-430-common/drivers/include/
|
||||
endif
|
||||
ifeq ($(BOARD),native)
|
||||
INCLUDES += -I$(RIOTBOARD)/native/include/
|
||||
endif
|
6
msb-430h/Makefile.dep
Normal file
6
msb-430h/Makefile.dep
Normal file
@ -0,0 +1,6 @@
|
||||
ifneq (,$(findstring cc110x_ng,$(USEMODULE)))
|
||||
ifeq (,$(findstring cc110x_spi,$(USEMODULE)))
|
||||
USEMODULE += cc110x_spi
|
||||
endif
|
||||
endif
|
||||
|
3
msb-430h/Makefile.include
Normal file
3
msb-430h/Makefile.include
Normal file
@ -0,0 +1,3 @@
|
||||
include $(RIOTBOARD)/$(BOARD)/Makefile.dep
|
||||
|
||||
include $(RIOTBOARD)/msb-430-common/Makefile.include
|
8
msba2-common/Makefile.dep
Normal file
8
msba2-common/Makefile.dep
Normal file
@ -0,0 +1,8 @@
|
||||
ifneq (,$(findstring cc110x_ng,$(USEMODULE)))
|
||||
ifeq (,$(findstring cc110x_spi,$(USEMODULE)))
|
||||
USEMODULE += cc110x_spi
|
||||
endif
|
||||
ifeq (,$(findstring gpioint,$(USEMODULE)))
|
||||
USEMODULE += gpioint
|
||||
endif
|
||||
endif
|
@ -20,3 +20,5 @@ ifeq ($(strip $(PORT)),)
|
||||
endif
|
||||
export HEXFILE = bin/$(PROJECT).hex
|
||||
export FFLAGS = -d $(PORT) -j uif "prog $(HEXFILE)"
|
||||
|
||||
include $(RIOTBOARD)/msba2-common/Makefile.dep
|
||||
|
Loading…
Reference in New Issue
Block a user