1
0
mirror of git://projects.qi-hardware.com/wernermisc.git synced 2024-11-23 19:36:14 +02:00
wernermisc/m1/patches/rtems/fix-sysconf-includes.patch

40 lines
1.7 KiB
Diff
Raw Permalink Normal View History

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"