1
0
mirror of git://projects.qi-hardware.com/wernermisc.git synced 2024-11-15 06:17:31 +02:00

m1/patches/: include fix for timer

This commit is contained in:
Werner Almesberger 2011-11-26 01:18:44 -03:00
parent 6ba362d8d9
commit b94d0bd185
2 changed files with 27 additions and 0 deletions

View File

@ -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 <bsp.h>
#include <bsp/irq-generic.h>
-#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 <rtems.h>
#include <bsp.h>
#include <rtems/btimer.h>
-#include "../include/system_conf.h"
+#include "../../milkymist/include/system_conf.h"
#include "../../shared/clock/clock.h"
bool benchmark_timer_find_average_overhead;

View File

@ -6,3 +6,4 @@ milkymist-new-uart.patch
fix-sysconf-includes.patch
milkymist-map-sysfreq.patch
milkymist-videoformat.patch
fix-timer-includes.patch