mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
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
|
||||
|
||||
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)))
|
||||
ifeq (,$(findstring sixlowpan,$(USEMODULE)))
|
||||
USEMODULE += sixlowpan
|
||||
|
@ -18,6 +18,9 @@ ifneq (,$(findstring posix,$(USEMODULE)))
|
||||
INCLUDES += -I$(RIOTBASE)/sys/posix/include
|
||||
DIRS += posix
|
||||
endif
|
||||
ifneq (,$(findstring pnet,$(USEMODULE)))
|
||||
DIRS += posix/pnet
|
||||
endif
|
||||
ifneq (,$(findstring shell,$(USEMODULE)))
|
||||
DIRS += shell
|
||||
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…
Reference in New Issue
Block a user