1
0
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:
Martin Lenders 2013-09-30 14:14:05 +02:00 committed by Martin Lenders
parent 2cf0d02c5e
commit f9ae76fa4b
3 changed files with 20 additions and 0 deletions

View File

@ -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

View File

@ -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
View File

@ -0,0 +1,5 @@
MODULE =pnet
CFLAGS += -isystem $(RIOTBASE)/sys/posix/pnet/include
include $(RIOTBASE)/Makefile.base