From f9ae76fa4bca07663dd848edcb852834c29a308a Mon Sep 17 00:00:00 2001 From: Martin Lenders Date: Mon, 30 Sep 2013 14:14:05 +0200 Subject: [PATCH] Start POSIX net [pnet] module --- Makefile.dep | 12 ++++++++++++ sys/Makefile | 3 +++ sys/posix/pnet/Makefile | 5 +++++ 3 files changed, 20 insertions(+) create mode 100644 sys/posix/pnet/Makefile diff --git a/Makefile.dep b/Makefile.dep index b3b66a8b13..ae54a9c68f 100644 --- a/Makefile.dep +++ b/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 diff --git a/sys/Makefile b/sys/Makefile index 58020bfd19..95cbae2d59 100644 --- a/sys/Makefile +++ b/sys/Makefile @@ -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 diff --git a/sys/posix/pnet/Makefile b/sys/posix/pnet/Makefile new file mode 100644 index 0000000000..8549b59171 --- /dev/null +++ b/sys/posix/pnet/Makefile @@ -0,0 +1,5 @@ +MODULE =pnet + +CFLAGS += -isystem $(RIOTBASE)/sys/posix/pnet/include + +include $(RIOTBASE)/Makefile.base