1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/pkg/oonf_api/patches/0003-port-example-to-riot.patch

47 lines
1.2 KiB
Diff
Raw Normal View History

2015-09-17 12:04:35 +02:00
From 1eb568357ba8e0679ad8d9a4cc3be0ad54cfc955 Mon Sep 17 00:00:00 2001
2014-02-05 20:37:47 +01:00
From: Benjamin Valentin <benpicco@zedat.fu-berlin.de>
Date: Tue, 1 Oct 2013 17:39:03 +0200
2015-09-17 12:04:35 +02:00
Subject: [PATCH 03/10] port example to riot
2014-02-05 20:37:47 +01:00
---
2015-09-17 12:04:35 +02:00
examples/rfc5444_reader_writer/Makefile | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
2014-02-05 20:37:47 +01:00
create mode 100644 examples/rfc5444_reader_writer/Makefile
diff --git a/examples/rfc5444_reader_writer/Makefile b/examples/rfc5444_reader_writer/Makefile
new file mode 100644
2015-09-17 12:04:35 +02:00
index 0000000..9d5653d
2014-02-05 20:37:47 +01:00
--- /dev/null
+++ b/examples/rfc5444_reader_writer/Makefile
2015-09-17 12:04:35 +02:00
@@ -0,0 +1,28 @@
2014-02-05 20:37:47 +01:00
+####
+#### Sample Makefile for building apps with the RIOT OS
+####
+#### The Sample Filesystem Layout is:
+#### /this makefile
2014-03-17 16:14:11 +01:00
+#### ../../RIOT
+####
2014-02-05 20:37:47 +01:00
+
+# name of your project
2014-05-23 10:33:02 +02:00
+export APPLICATION := $(shell basename $(CURDIR))
2014-02-05 20:37:47 +01:00
+
+# for easy switching of boards
2015-09-17 12:04:35 +02:00
+export BOARD ?= native
2014-02-05 20:37:47 +01:00
+
+# this has to be the absolute path of the RIOT-base dir
+export RIOTBASE =$(CURDIR)/../../../../..
+
+export CFLAGS = -DOONF_LOG_INFO -DOONF_LOG_DEBUG_INFO
2014-02-05 20:37:47 +01:00
+
2014-03-17 16:14:11 +01:00
+## Modules to include.
2014-02-05 20:37:47 +01:00
+
+USEMODULE += oonf_rfc5444
+
2015-09-17 12:04:35 +02:00
+INCLUDES += -I$(CURDIR)/..
2014-02-05 20:37:47 +01:00
+
2015-09-17 12:04:35 +02:00
+QUIET ?= 1
2014-02-05 20:37:47 +01:00
+
+include $(RIOTBASE)/Makefile.include
2014-03-17 16:14:11 +01:00
--
2015-09-17 12:04:35 +02:00
1.9.1