mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
266 lines
7.5 KiB
Diff
266 lines
7.5 KiB
Diff
From 740dc78ea84dceea25670c94faf6a81ef845fc39 Mon Sep 17 00:00:00 2001
|
|
From: Thomas Eichinger <thomas.eichinger1@gmail.com>
|
|
Date: Tue, 25 Nov 2014 15:45:36 +0100
|
|
Subject: [PATCH 1/5] Add RIOT Makefiles
|
|
|
|
---
|
|
Makefile | 16 ++++++++++++++++
|
|
kernel/openos/Makefile | 6 ++++++
|
|
openapps/Makefile | 22 ++++++++++++++++++++++
|
|
openapps/c6t/Makefile | 3 +++
|
|
openapps/cinfo/Makefile | 2 ++
|
|
openapps/cleds/Makefile | 2 ++
|
|
openapps/cstorm/Makefile | 2 ++
|
|
openapps/cwellknown/Makefile | 2 ++
|
|
openapps/techo/Makefile | 3 +++
|
|
openapps/uecho/Makefile | 3 +++
|
|
openstack/02a-MAClow/Makefile | 3 +++
|
|
openstack/02b-MAChigh/Makefile | 3 +++
|
|
openstack/03a-IPHC/Makefile | 3 +++
|
|
openstack/03b-IPv6/Makefile | 3 +++
|
|
openstack/04-TRAN/Makefile | 6 ++++++
|
|
openstack/Makefile | 18 ++++++++++++++++++
|
|
openstack/cross-layers/Makefile | 3 +++
|
|
projects/common/03oos_openwsn/Makefile | 3 +++
|
|
18 files changed, 103 insertions(+)
|
|
create mode 100644 Makefile
|
|
create mode 100644 kernel/openos/Makefile
|
|
create mode 100644 openapps/Makefile
|
|
create mode 100644 openapps/c6t/Makefile
|
|
create mode 100644 openapps/cinfo/Makefile
|
|
create mode 100644 openapps/cleds/Makefile
|
|
create mode 100644 openapps/cstorm/Makefile
|
|
create mode 100644 openapps/cwellknown/Makefile
|
|
create mode 100644 openapps/techo/Makefile
|
|
create mode 100644 openapps/uecho/Makefile
|
|
create mode 100644 openstack/02a-MAClow/Makefile
|
|
create mode 100644 openstack/02b-MAChigh/Makefile
|
|
create mode 100644 openstack/03a-IPHC/Makefile
|
|
create mode 100644 openstack/03b-IPv6/Makefile
|
|
create mode 100644 openstack/04-TRAN/Makefile
|
|
create mode 100644 openstack/Makefile
|
|
create mode 100644 openstack/cross-layers/Makefile
|
|
create mode 100644 projects/common/03oos_openwsn/Makefile
|
|
|
|
diff --git a/Makefile b/Makefile
|
|
new file mode 100644
|
|
index 0000000..66d60f8
|
|
--- /dev/null
|
|
+++ b/Makefile
|
|
@@ -0,0 +1,16 @@
|
|
+MODULE:=$(shell basename $(CURDIR))
|
|
+export OPENWSN_ROOT=$(CURDIR)
|
|
+
|
|
+DIRS += $(OPENWSN_ROOT)/projects/common/03oos_openwsn \
|
|
+ $(OPENWSN_ROOT)/openstack \
|
|
+ $(OPENWSN_ROOT)/openapps \
|
|
+ $(OPENWSN_ROOT)/kernel/openos
|
|
+
|
|
+INCLUDES += -I$(OPENWSN_ROOT)/kernel \
|
|
+ -I$(OPENWSN_ROOT)/inc \
|
|
+ -I$(OPENWSN_ROOT)/bsp/boards/ \
|
|
+ -I$(OPENWSN_ROOT)/bsp/boards/riot-adaption \
|
|
+ -I$(OPENWSN_ROOT)/openstack \
|
|
+ -I$(OPENWSN_ROOT)/openapps
|
|
+
|
|
+include $(RIOTBASE)/Makefile.base
|
|
\ No newline at end of file
|
|
diff --git a/kernel/openos/Makefile b/kernel/openos/Makefile
|
|
new file mode 100644
|
|
index 0000000..66fcdd0
|
|
--- /dev/null
|
|
+++ b/kernel/openos/Makefile
|
|
@@ -0,0 +1,6 @@
|
|
+MODULE = openwsn
|
|
+
|
|
+INCLUDES += -I$(CURDIR)/..
|
|
+INCLUDES += -I$(OPENWSN_ROOT)/bsp/boards
|
|
+
|
|
+include $(RIOTBASE)/Makefile.base
|
|
\ No newline at end of file
|
|
diff --git a/openapps/Makefile b/openapps/Makefile
|
|
new file mode 100644
|
|
index 0000000..56af055
|
|
--- /dev/null
|
|
+++ b/openapps/Makefile
|
|
@@ -0,0 +1,22 @@
|
|
+MODULE = openwsn
|
|
+
|
|
+DIRS += $(CURDIR)/c6t \
|
|
+ $(CURDIR)/uecho \
|
|
+ $(CURDIR)/techo
|
|
+
|
|
+INCLUDES += -I$(CURDIR)/c6t \
|
|
+ -I$(CURDIR)/techo \
|
|
+ -I$(CURDIR)/uecho \
|
|
+ -I$(CURDIR)/cinfo \
|
|
+ -I$(CURDIR)/cleds \
|
|
+ -I$(CURDIR)/cstorm \
|
|
+ -I$(CURDIR)/cwellknown \
|
|
+ -I$(OPENWSN_ROOT)/openstack/04-TRAN \
|
|
+ -I$(OPENWSN_ROOT)/drivers/common \
|
|
+ -I$(OPENWSN_ROOT)/openstack/02a-MAClow \
|
|
+ -I$(OPENWSN_ROOT)/openstack/02b-MAChigh \
|
|
+ -I$(OPENWSN_ROOT)/openstack/03a-IPHC \
|
|
+ -I$(OPENWSN_ROOT)/openstack/03b-IPv6 \
|
|
+ -I$(OPENWSN_ROOT)/openstack/cross-layers
|
|
+
|
|
+include $(RIOTBASE)/Makefile.base
|
|
\ No newline at end of file
|
|
diff --git a/openapps/c6t/Makefile b/openapps/c6t/Makefile
|
|
new file mode 100644
|
|
index 0000000..694bb09
|
|
--- /dev/null
|
|
+++ b/openapps/c6t/Makefile
|
|
@@ -0,0 +1,3 @@
|
|
+MODULE = openwsn
|
|
+
|
|
+include $(RIOTBASE)/Makefile.base
|
|
diff --git a/openapps/cinfo/Makefile b/openapps/cinfo/Makefile
|
|
new file mode 100644
|
|
index 0000000..fbf6584
|
|
--- /dev/null
|
|
+++ b/openapps/cinfo/Makefile
|
|
@@ -0,0 +1,2 @@
|
|
+
|
|
+include $(RIOTBASE)/Makefile.base
|
|
\ No newline at end of file
|
|
diff --git a/openapps/cleds/Makefile b/openapps/cleds/Makefile
|
|
new file mode 100644
|
|
index 0000000..fbf6584
|
|
--- /dev/null
|
|
+++ b/openapps/cleds/Makefile
|
|
@@ -0,0 +1,2 @@
|
|
+
|
|
+include $(RIOTBASE)/Makefile.base
|
|
\ No newline at end of file
|
|
diff --git a/openapps/cstorm/Makefile b/openapps/cstorm/Makefile
|
|
new file mode 100644
|
|
index 0000000..fbf6584
|
|
--- /dev/null
|
|
+++ b/openapps/cstorm/Makefile
|
|
@@ -0,0 +1,2 @@
|
|
+
|
|
+include $(RIOTBASE)/Makefile.base
|
|
\ No newline at end of file
|
|
diff --git a/openapps/cwellknown/Makefile b/openapps/cwellknown/Makefile
|
|
new file mode 100644
|
|
index 0000000..fbf6584
|
|
--- /dev/null
|
|
+++ b/openapps/cwellknown/Makefile
|
|
@@ -0,0 +1,2 @@
|
|
+
|
|
+include $(RIOTBASE)/Makefile.base
|
|
\ No newline at end of file
|
|
diff --git a/openapps/techo/Makefile b/openapps/techo/Makefile
|
|
new file mode 100644
|
|
index 0000000..694bb09
|
|
--- /dev/null
|
|
+++ b/openapps/techo/Makefile
|
|
@@ -0,0 +1,3 @@
|
|
+MODULE = openwsn
|
|
+
|
|
+include $(RIOTBASE)/Makefile.base
|
|
diff --git a/openapps/uecho/Makefile b/openapps/uecho/Makefile
|
|
new file mode 100644
|
|
index 0000000..694bb09
|
|
--- /dev/null
|
|
+++ b/openapps/uecho/Makefile
|
|
@@ -0,0 +1,3 @@
|
|
+MODULE = openwsn
|
|
+
|
|
+include $(RIOTBASE)/Makefile.base
|
|
diff --git a/openstack/02a-MAClow/Makefile b/openstack/02a-MAClow/Makefile
|
|
new file mode 100644
|
|
index 0000000..694bb09
|
|
--- /dev/null
|
|
+++ b/openstack/02a-MAClow/Makefile
|
|
@@ -0,0 +1,3 @@
|
|
+MODULE = openwsn
|
|
+
|
|
+include $(RIOTBASE)/Makefile.base
|
|
diff --git a/openstack/02b-MAChigh/Makefile b/openstack/02b-MAChigh/Makefile
|
|
new file mode 100644
|
|
index 0000000..694bb09
|
|
--- /dev/null
|
|
+++ b/openstack/02b-MAChigh/Makefile
|
|
@@ -0,0 +1,3 @@
|
|
+MODULE = openwsn
|
|
+
|
|
+include $(RIOTBASE)/Makefile.base
|
|
diff --git a/openstack/03a-IPHC/Makefile b/openstack/03a-IPHC/Makefile
|
|
new file mode 100644
|
|
index 0000000..694bb09
|
|
--- /dev/null
|
|
+++ b/openstack/03a-IPHC/Makefile
|
|
@@ -0,0 +1,3 @@
|
|
+MODULE = openwsn
|
|
+
|
|
+include $(RIOTBASE)/Makefile.base
|
|
diff --git a/openstack/03b-IPv6/Makefile b/openstack/03b-IPv6/Makefile
|
|
new file mode 100644
|
|
index 0000000..694bb09
|
|
--- /dev/null
|
|
+++ b/openstack/03b-IPv6/Makefile
|
|
@@ -0,0 +1,3 @@
|
|
+MODULE = openwsn
|
|
+
|
|
+include $(RIOTBASE)/Makefile.base
|
|
diff --git a/openstack/04-TRAN/Makefile b/openstack/04-TRAN/Makefile
|
|
new file mode 100644
|
|
index 0000000..013e4fb
|
|
--- /dev/null
|
|
+++ b/openstack/04-TRAN/Makefile
|
|
@@ -0,0 +1,6 @@
|
|
+MODULE = openwsn
|
|
+
|
|
+INCLUDES += -I$(OPENWSN_ROOT)/openapps/techo \
|
|
+ -I$(OPENWSN_ROOT)/openapps/uecho
|
|
+
|
|
+include $(RIOTBASE)/Makefile.base
|
|
diff --git a/openstack/Makefile b/openstack/Makefile
|
|
new file mode 100644
|
|
index 0000000..a3c3aab
|
|
--- /dev/null
|
|
+++ b/openstack/Makefile
|
|
@@ -0,0 +1,18 @@
|
|
+MODULE = openwsn
|
|
+
|
|
+DIRS +=02a-MAClow
|
|
+DIRS +=02b-MAChigh
|
|
+DIRS +=03a-IPHC
|
|
+DIRS +=03b-IPv6
|
|
+DIRS +=04-TRAN
|
|
+DIRS +=cross-layers
|
|
+
|
|
+INCLUDES += -I$(CURDIR)/../drivers/common \
|
|
+ -I$(CURDIR)/02a-MAClow \
|
|
+ -I$(CURDIR)/02b-MAChigh \
|
|
+ -I$(CURDIR)/03a-IPHC \
|
|
+ -I$(CURDIR)/03b-IPv6 \
|
|
+ -I$(CURDIR)/04-TRAN \
|
|
+ -I$(CURDIR)/cross-layers
|
|
+
|
|
+include $(RIOTBASE)/Makefile.base
|
|
diff --git a/openstack/cross-layers/Makefile b/openstack/cross-layers/Makefile
|
|
new file mode 100644
|
|
index 0000000..694bb09
|
|
--- /dev/null
|
|
+++ b/openstack/cross-layers/Makefile
|
|
@@ -0,0 +1,3 @@
|
|
+MODULE = openwsn
|
|
+
|
|
+include $(RIOTBASE)/Makefile.base
|
|
diff --git a/projects/common/03oos_openwsn/Makefile b/projects/common/03oos_openwsn/Makefile
|
|
new file mode 100644
|
|
index 0000000..694bb09
|
|
--- /dev/null
|
|
+++ b/projects/common/03oos_openwsn/Makefile
|
|
@@ -0,0 +1,3 @@
|
|
+MODULE = openwsn
|
|
+
|
|
+include $(RIOTBASE)/Makefile.base
|
|
--
|
|
2.2.0
|
|
|