fix build
authornotaz <notasas@gmail.com>
Wed, 26 Aug 2015 21:20:28 +0000 (00:20 +0300)
committernotaz <notasas@gmail.com>
Wed, 26 Aug 2015 21:20:28 +0000 (00:20 +0300)
.gitmodules
common/host_fb.c
common/libpicofe [new submodule]
loader/host.c

index d3a2814..2dd4422 100644 (file)
@@ -1,3 +1,6 @@
 [submodule "common/warm"]
        path = common/warm
        url = git://notaz.gp2x.de/~notaz/warm.git
+[submodule "common/libpicofe"]
+       path = common/libpicofe
+       url = git://notaz.gp2x.de/~notaz/libpicofe.git
index be6d934..4583a4c 100644 (file)
@@ -16,7 +16,7 @@ static int host_stride;
 
 #if defined(PND)
 
-#include "linux/fbdev.c"
+#include "libpicofe/linux/fbdev.c"
 
 static struct vout_fbdev *fbdev;
 static unsigned short host_pal[256];
diff --git a/common/libpicofe b/common/libpicofe
new file mode 160000 (submodule)
index 0000000..26ea181
--- /dev/null
@@ -0,0 +1 @@
+Subproject commit 26ea18173c1228dd5ce39e2a88ffe1ae10fcb365
index 9663964..fc7a829 100644 (file)
@@ -1,6 +1,6 @@
 // vim:shiftwidth=2:expandtab
 
-#define _GNU_SOURCE // for plat.c
+#define _GNU_SOURCE // for plat.c
 #include <stdio.h>
 #include <stdarg.h>
 
@@ -8,9 +8,9 @@
 #include "realfuncs.h"
 
 #define IN_EVDEV
-#include "../common/common/input.c"
-#include "../common/linux/plat.c"
-#include "../common/linux/in_evdev.c"
+#include "../common/libpicofe/input.c"
+#include "../common/libpicofe/linux/plat.c"
+#include "../common/libpicofe/linux/in_evdev.c"
 
 #ifdef PND
 #include "host_pnd.c"