File tree 3 files changed +14
-3
lines changed
3 files changed +14
-3
lines changed Original file line number Diff line number Diff line change 6
6
# Licenced under Academic Free License version 2.0
7
7
# Review ps2sdk README & LICENSE files for further details.
8
8
9
- IOP_INCS += -I$(PS2SDKSRC ) /iop/fs/bdm/include -I$(PS2SDKSRC ) /iop/system/sio2man/include
9
+ MODHOOK_PATH = $(PS2SDKSRC ) /iop/utilities/modhook/
10
+ IOP_INCS += -I$(PS2SDKSRC ) /iop/fs/bdm/include -I$(PS2SDKSRC ) /iop/system/sio2man/include -I$(MODHOOK_PATH ) include
11
+ IOP_LIB_ARCHIVES = $(MODHOOK_PATH ) lib/libmodhook.a
10
12
11
13
IOP_OBJS += spi_sdcard_crc7.o spi_sdcard_driver.o crc16.o ioplib.o sio2man_hook.o mx4sio.o imports.o
12
14
13
15
IOP_LDFLAGS = -lgcc
14
16
17
+
18
+ $(MODHOOK_PATH ) lib/libmodhook.a :
19
+ $(MAKEREC ) $(MODHOOK_PATH )
20
+
21
+ .NOTPARALLEL :: \
22
+ $(IOP_LIB_ARCHIVES )
23
+
24
+
15
25
include $(PS2SDKSRC ) /Defs.make
16
26
include $(PS2SDKSRC ) /iop/Rules.bin.make
17
27
include $(PS2SDKSRC ) /iop/Rules.make
Original file line number Diff line number Diff line change 7
7
#include <thsemap.h>
8
8
#include <xsio2man.h>
9
9
10
+ #include <ioplib.h>
11
+
10
12
#include "mx4sio.h"
11
13
#include "crc16.h"
12
- #include "ioplib.h"
13
14
#include "sio2man_hook.h"
14
15
#include "sio2regs.h"
15
16
#include "spi_sdcard_driver.h"
Original file line number Diff line number Diff line change 1
1
#include <stdio.h>
2
2
#include <string.h>
3
3
#include <thsemap.h>
4
+ #include <ioplib.h>
4
5
5
- #include "ioplib.h"
6
6
#include "sio2man.h"
7
7
#include "sio2man_hook.h"
8
8
You can’t perform that action at this time.
0 commit comments