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

1Index: rtems/c/src/lib/libbsp/lm32/shared/milkymist_console/console.c
2===================================================================
3--- rtems.orig/c/src/lib/libbsp/lm32/shared/milkymist_console/console.c 2011-11-20 16:20:21.000000000 -0300
4+++ rtems/c/src/lib/libbsp/lm32/shared/milkymist_console/console.c 2011-11-20 16:20:25.000000000 -0300
5@@ -19,7 +19,7 @@
6 #include <rtems/termiostypes.h>
7 #include <bsp/irq-generic.h>
8 
9-#include "../include/system_conf.h"
10+#include "../../milkymist/include/system_conf.h"
11 #include "uart.h"
12 
13 BSP_output_char_function_type BSP_output_char = BSP_uart_polled_write;
14Index: rtems/c/src/lib/libbsp/lm32/shared/milkymist_console/uart.c
15===================================================================
16--- rtems.orig/c/src/lib/libbsp/lm32/shared/milkymist_console/uart.c 2011-11-20 16:20:38.000000000 -0300
17+++ rtems/c/src/lib/libbsp/lm32/shared/milkymist_console/uart.c 2011-11-20 16:20:49.000000000 -0300
18@@ -14,7 +14,7 @@
19 
20 #include <rtems.h>
21 #include <rtems/libio.h>
22-#include "../include/system_conf.h"
23+#include "../../milkymist/include/system_conf.h"
24 #include "uart.h"
25 
26 void BSP_uart_init(int baud)
27Index: rtems/c/src/lib/libbsp/lm32/shared/milkymist_midi/midi.c
28===================================================================
29--- rtems.orig/c/src/lib/libbsp/lm32/shared/milkymist_midi/midi.c 2011-11-20 16:21:11.000000000 -0300
30+++ rtems/c/src/lib/libbsp/lm32/shared/milkymist_midi/midi.c 2011-11-20 16:22:01.000000000 -0300
31@@ -20,7 +20,7 @@
32 #include <bsp.h>
33 #include <bsp/irq-generic.h>
34 #include <rtems/libio.h>
35-#include "../include/system_conf.h"
36+#include "../../milkymist/include/system_conf.h"
37 #include "milkymist_midi.h"
38 
39 #define DEVICE_NAME "/dev/midi"
40

Archive Download this file

Branches:
master



interactive