mirror of
git://projects.qi-hardware.com/wernermisc.git
synced 2024-12-18 20:45:00 +02:00
58da15e017
Some of the include paths don't work. Not sure whether my patch is a correct fix or merely an awkward way to work around a problem that's somewhere else.
40 lines
1.7 KiB
Diff
40 lines
1.7 KiB
Diff
Index: rtems/c/src/lib/libbsp/lm32/shared/milkymist_console/console.c
|
|
===================================================================
|
|
--- rtems.orig/c/src/lib/libbsp/lm32/shared/milkymist_console/console.c 2011-11-20 16:20:21.000000000 -0300
|
|
+++ rtems/c/src/lib/libbsp/lm32/shared/milkymist_console/console.c 2011-11-20 16:20:25.000000000 -0300
|
|
@@ -19,7 +19,7 @@
|
|
#include <rtems/termiostypes.h>
|
|
#include <bsp/irq-generic.h>
|
|
|
|
-#include "../include/system_conf.h"
|
|
+#include "../../milkymist/include/system_conf.h"
|
|
#include "uart.h"
|
|
|
|
BSP_output_char_function_type BSP_output_char = BSP_uart_polled_write;
|
|
Index: rtems/c/src/lib/libbsp/lm32/shared/milkymist_console/uart.c
|
|
===================================================================
|
|
--- rtems.orig/c/src/lib/libbsp/lm32/shared/milkymist_console/uart.c 2011-11-20 16:20:38.000000000 -0300
|
|
+++ rtems/c/src/lib/libbsp/lm32/shared/milkymist_console/uart.c 2011-11-20 16:20:49.000000000 -0300
|
|
@@ -14,7 +14,7 @@
|
|
|
|
#include <rtems.h>
|
|
#include <rtems/libio.h>
|
|
-#include "../include/system_conf.h"
|
|
+#include "../../milkymist/include/system_conf.h"
|
|
#include "uart.h"
|
|
|
|
void BSP_uart_init(int baud)
|
|
Index: rtems/c/src/lib/libbsp/lm32/shared/milkymist_midi/midi.c
|
|
===================================================================
|
|
--- rtems.orig/c/src/lib/libbsp/lm32/shared/milkymist_midi/midi.c 2011-11-20 16:21:11.000000000 -0300
|
|
+++ rtems/c/src/lib/libbsp/lm32/shared/milkymist_midi/midi.c 2011-11-20 16:22:01.000000000 -0300
|
|
@@ -20,7 +20,7 @@
|
|
#include <bsp.h>
|
|
#include <bsp/irq-generic.h>
|
|
#include <rtems/libio.h>
|
|
-#include "../include/system_conf.h"
|
|
+#include "../../milkymist/include/system_conf.h"
|
|
#include "milkymist_midi.h"
|
|
|
|
#define DEVICE_NAME "/dev/midi"
|