diff --git a/Makefile.dep b/Makefile.dep index b3b66a8b135c4adbce1a816c6b46cfa2bae3dce7..ae54a9c68fc5a760c986af7f947fac2507b5e6b3 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 58020bfd19119d71cfbb178babb7227e8b0cf28a..95cbae2d592db1c4dbc39e1893dc19a6bf324e53 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 0000000000000000000000000000000000000000..8549b59171b795b9f62ce5f95aaeef1fcd2526c7 --- /dev/null +++ b/sys/posix/pnet/Makefile @@ -0,0 +1,5 @@ +MODULE =pnet + +CFLAGS += -isystem $(RIOTBASE)/sys/posix/pnet/include + +include $(RIOTBASE)/Makefile.base