fix controls regression on _dyn
authornotaz <notasas@gmail.com>
Sat, 14 Nov 2015 15:03:41 +0000 (17:03 +0200)
committernotaz <notasas@gmail.com>
Sat, 14 Nov 2015 15:03:41 +0000 (17:03 +0200)
loader/Makefile
loader/host.c

index b11da94..99f0af6 100644 (file)
@@ -39,9 +39,6 @@ TARGET_S = ginge_sloader$(TAG)
 TARGET_D = ginge_dyn$(TAG)
 
 OBJ += emu.o host.o host_fb.o cmn.o
-OBJ += ../common/libpicofe/input.o
-OBJ += ../common/libpicofe/linux/plat.o
-OBJ += ../common/libpicofe/linux/in_evdev.o
 OBJ_S += $(OBJ) loader.o loader_$(ARCH).o patches.o
 OBJ_D += $(OBJ) dl.o
 
index e1e9cc8..7df4f10 100644 (file)
 #include "header.h"
 #include "realfuncs.h"
 
+// must be affected by realfuncs.h
+#include "../common/libpicofe/input.c"
+#include "../common/libpicofe/linux/plat.c"
+#include "../common/libpicofe/linux/in_evdev.c"
+
 #ifdef PND
 #include "host_pnd.c"
 #elif defined(WIZ)