From b94d0bd1854bf3e7bcd1d837b95eda75dd17484b Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Sat, 26 Nov 2011 01:18:44 -0300 Subject: [PATCH] m1/patches/: include fix for timer --- m1/patches/rtems/fix-timer-includes.patch | 26 +++++++++++++++++++++++ m1/patches/rtems/series | 1 + 2 files changed, 27 insertions(+) create mode 100644 m1/patches/rtems/fix-timer-includes.patch diff --git a/m1/patches/rtems/fix-timer-includes.patch b/m1/patches/rtems/fix-timer-includes.patch new file mode 100644 index 0000000..0d791d4 --- /dev/null +++ b/m1/patches/rtems/fix-timer-includes.patch @@ -0,0 +1,26 @@ +Index: rtems/c/src/lib/libbsp/lm32/shared/milkymist_clock/ckinit.c +=================================================================== +--- rtems.orig/c/src/lib/libbsp/lm32/shared/milkymist_clock/ckinit.c 2011-11-26 01:16:17.000000000 -0300 ++++ rtems/c/src/lib/libbsp/lm32/shared/milkymist_clock/ckinit.c 2011-11-26 01:17:27.000000000 -0300 +@@ -14,7 +14,7 @@ + + #include + #include +-#include "../include/system_conf.h" ++#include "../../milkymist/include/system_conf.h" + #include "clock.h" + #include "bspopts.h" + +Index: rtems/c/src/lib/libbsp/lm32/shared/milkymist_timer/timer.c +=================================================================== +--- rtems.orig/c/src/lib/libbsp/lm32/shared/milkymist_timer/timer.c 2011-11-26 01:16:17.000000000 -0300 ++++ rtems/c/src/lib/libbsp/lm32/shared/milkymist_timer/timer.c 2011-11-26 01:17:27.000000000 -0300 +@@ -22,7 +22,7 @@ + #include + #include + #include +-#include "../include/system_conf.h" ++#include "../../milkymist/include/system_conf.h" + #include "../../shared/clock/clock.h" + + bool benchmark_timer_find_average_overhead; diff --git a/m1/patches/rtems/series b/m1/patches/rtems/series index 12082a9..1e700b2 100644 --- a/m1/patches/rtems/series +++ b/m1/patches/rtems/series @@ -6,3 +6,4 @@ milkymist-new-uart.patch fix-sysconf-includes.patch milkymist-map-sysfreq.patch milkymist-videoformat.patch +fix-timer-includes.patch