mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Merge pull request #657 from LudwigOrtmann/wsn430-v1_4_Makefiles
fix wsn430-v1_4 Makefiles
This commit is contained in:
commit
9fff3f5b90
@ -1,4 +1,4 @@
|
|||||||
MODULE =$(BOARD)_base
|
MODULE = $(BOARD)_base
|
||||||
|
|
||||||
DIRS = $(RIOTBOARD)/wsn430-common
|
DIRS = $(RIOTBOARD)/wsn430-common
|
||||||
|
|
||||||
|
@ -1 +1 @@
|
|||||||
USEMODULE += msp430_common
|
USEMODULE += msp430_common
|
||||||
|
@ -1,4 +1,13 @@
|
|||||||
export INCLUDES += -I$(RIOTBOARD)/wsn430-v1_4/include -I$(RIOTBOARD)/wsn430-common/include -I$(RIOTBASE)/drivers/cc2420/include -I$(RIOTBASE)/sys/net/include
|
export INCLUDES += -I$(RIOTBOARD)/wsn430-v1_4/include -I$(RIOTBOARD)/wsn430-common/include
|
||||||
|
|
||||||
|
ifeq (,$(findstring cc2420,$(USEMODULE)))
|
||||||
|
USEMODULE += cc2420
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifneq (,$(findstring cc2420,$(USEMODULE)))
|
||||||
|
INCLUDES += -I$(RIOTBASE)/drivers/cc2420/include \
|
||||||
|
-I$(RIOTBASE)/sys/net/include
|
||||||
|
endif
|
||||||
|
|
||||||
include $(RIOTBOARD)/$(BOARD)/Makefile.dep
|
include $(RIOTBOARD)/$(BOARD)/Makefile.dep
|
||||||
include $(RIOTBOARD)/wsn430-common/Makefile.include
|
include $(RIOTBOARD)/wsn430-common/Makefile.include
|
||||||
|
@ -48,10 +48,6 @@ endif
|
|||||||
ifneq (,$(findstring wsn430-v1_3b,$(BOARD)))
|
ifneq (,$(findstring wsn430-v1_3b,$(BOARD)))
|
||||||
USEMODULE += cc110x_ng
|
USEMODULE += cc110x_ng
|
||||||
endif
|
endif
|
||||||
ifneq (,$(findstring wsn430-v1_4,$(BOARD)))
|
|
||||||
USEMODULE += cc2420
|
|
||||||
export INCLUDES += -I$(RIOTBASE)/drivers/cc2420/include
|
|
||||||
endif
|
|
||||||
ifneq (,$(findstring msb-430h,$(BOARD)))
|
ifneq (,$(findstring msb-430h,$(BOARD)))
|
||||||
USEMODULE += cc110x_ng
|
USEMODULE += cc110x_ng
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user