Blame view

RIOT/pkg/oonf_api/patches/0003-port-example-to-riot.patch 1.16 KB
a752c7ab   elopes   add first test an...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
  From 1eb568357ba8e0679ad8d9a4cc3be0ad54cfc955 Mon Sep 17 00:00:00 2001
  From: Benjamin Valentin <benpicco@zedat.fu-berlin.de>
  Date: Tue, 1 Oct 2013 17:39:03 +0200
  Subject: [PATCH 03/10] port example to riot
  
  ---
   examples/rfc5444_reader_writer/Makefile | 28 ++++++++++++++++++++++++++++
   1 file changed, 28 insertions(+)
   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
  index 0000000..9d5653d
  --- /dev/null
  +++ b/examples/rfc5444_reader_writer/Makefile
  @@ -0,0 +1,28 @@
  +####
  +#### Sample Makefile for building apps with the RIOT OS
  +####
  +#### The Sample Filesystem Layout is:
  +#### /this makefile
  +#### ../../RIOT
  +####
  +
  +# name of your project
  +export APPLICATION := $(shell basename $(CURDIR))
  +
  +# for easy switching of boards
  +export BOARD ?= native
  +
  +# this has to be the absolute path of the RIOT-base dir
  +export RIOTBASE =$(CURDIR)/../../../../..
  +
  +export CFLAGS = -DOONF_LOG_INFO -DOONF_LOG_DEBUG_INFO
  +
  +## Modules to include.
  +
  +USEMODULE += oonf_rfc5444
  +
  +INCLUDES += -I$(CURDIR)/..
  +
  +QUIET ?= 1
  +
  +include $(RIOTBASE)/Makefile.include
  --
  1.9.1