Start POSIX net [pnet] module
This commit is contained in:
parent
2cf0d02c5e
commit
f9ae76fa4b
12
Makefile.dep
12
Makefile.dep
@ -42,6 +42,18 @@ ifneq (,$(findstring at86rf231,$(USEMODULE)))
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifneq (,$(findstring pnet, $(USEMODULE)))
|
||||||
|
ifeq (,$(findstring posix, $(USEMODULE)))
|
||||||
|
USEMODULE += posix
|
||||||
|
endif
|
||||||
|
ifeq (,$(findstring destiny, $(USEMODULE)))
|
||||||
|
USEMODULE += destiny
|
||||||
|
endif
|
||||||
|
ifeq (,$(findstring net_help, $(USEMODULE)))
|
||||||
|
USEMODULE += net_help
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
ifneq (,$(findstring destiny,$(USEMODULE)))
|
ifneq (,$(findstring destiny,$(USEMODULE)))
|
||||||
ifeq (,$(findstring sixlowpan,$(USEMODULE)))
|
ifeq (,$(findstring sixlowpan,$(USEMODULE)))
|
||||||
USEMODULE += sixlowpan
|
USEMODULE += sixlowpan
|
||||||
|
|||||||
@ -18,6 +18,9 @@ ifneq (,$(findstring posix,$(USEMODULE)))
|
|||||||
INCLUDES += -I$(RIOTBASE)/sys/posix/include
|
INCLUDES += -I$(RIOTBASE)/sys/posix/include
|
||||||
DIRS += posix
|
DIRS += posix
|
||||||
endif
|
endif
|
||||||
|
ifneq (,$(findstring pnet,$(USEMODULE)))
|
||||||
|
DIRS += posix/pnet
|
||||||
|
endif
|
||||||
ifneq (,$(findstring shell,$(USEMODULE)))
|
ifneq (,$(findstring shell,$(USEMODULE)))
|
||||||
DIRS += shell
|
DIRS += shell
|
||||||
endif
|
endif
|
||||||
|
|||||||
5
sys/posix/pnet/Makefile
Normal file
5
sys/posix/pnet/Makefile
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
MODULE =pnet
|
||||||
|
|
||||||
|
CFLAGS += -isystem $(RIOTBASE)/sys/posix/pnet/include
|
||||||
|
|
||||||
|
include $(RIOTBASE)/Makefile.base
|
||||||
Loading…
x
Reference in New Issue
Block a user