Root/m1/patches/rtems/fix-timer-includes.patch

1Index: rtems/c/src/lib/libbsp/lm32/shared/milkymist_clock/ckinit.c
2===================================================================
3--- rtems.orig/c/src/lib/libbsp/lm32/shared/milkymist_clock/ckinit.c 2011-11-26 01:16:17.000000000 -0300
4+++ rtems/c/src/lib/libbsp/lm32/shared/milkymist_clock/ckinit.c 2011-11-26 01:17:27.000000000 -0300
5@@ -14,7 +14,7 @@
6 
7 #include <bsp.h>
8 #include <bsp/irq-generic.h>
9-#include "../include/system_conf.h"
10+#include "../../milkymist/include/system_conf.h"
11 #include "clock.h"
12 #include "bspopts.h"
13 
14Index: rtems/c/src/lib/libbsp/lm32/shared/milkymist_timer/timer.c
15===================================================================
16--- rtems.orig/c/src/lib/libbsp/lm32/shared/milkymist_timer/timer.c 2011-11-26 01:16:17.000000000 -0300
17+++ rtems/c/src/lib/libbsp/lm32/shared/milkymist_timer/timer.c 2011-11-26 01:17:27.000000000 -0300
18@@ -22,7 +22,7 @@
19 #include <rtems.h>
20 #include <bsp.h>
21 #include <rtems/btimer.h>
22-#include "../include/system_conf.h"
23+#include "../../milkymist/include/system_conf.h"
24 #include "../../shared/clock/clock.h"
25 
26 bool benchmark_timer_find_average_overhead;
27

Archive Download this file

Branches:
master



interactive