1
0
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:
Oleg Hahm 2014-02-11 17:55:11 +01:00
commit 9fff3f5b90
4 changed files with 12 additions and 7 deletions

View File

@ -1,4 +1,4 @@
MODULE =$(BOARD)_base
MODULE = $(BOARD)_base
DIRS = $(RIOTBOARD)/wsn430-common

View File

@ -1 +1 @@
USEMODULE += msp430_common
USEMODULE += msp430_common

View File

@ -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)/wsn430-common/Makefile.include

View File

@ -48,10 +48,6 @@ endif
ifneq (,$(findstring wsn430-v1_3b,$(BOARD)))
USEMODULE += cc110x_ng
endif
ifneq (,$(findstring wsn430-v1_4,$(BOARD)))
USEMODULE += cc2420
export INCLUDES += -I$(RIOTBASE)/drivers/cc2420/include
endif
ifneq (,$(findstring msb-430h,$(BOARD)))
USEMODULE += cc110x_ng
endif