From 4c19331f7b90c8c4763a007a12d6b2fc5cf8fd57 Mon Sep 17 00:00:00 2001 From: sp193 Date: Fri, 30 Dec 2016 16:10:17 +0800 Subject: [PATCH] Removed the Os compile option from dev9 and disabled building of libkernel on the IOP (deprecated). When dev9 is compiled with the Os option under GCC v5, it requires memcpy. I think that it could potentially result in over-agressive optimization anyway... --- iop/dev9/dev9/Makefile | 1 - iop/kernel/Makefile | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/iop/dev9/dev9/Makefile b/iop/dev9/dev9/Makefile index 90e1ba49752..870635c25f5 100644 --- a/iop/dev9/dev9/Makefile +++ b/iop/dev9/dev9/Makefile @@ -17,7 +17,6 @@ IOP_OBJS = ps2dev9.o exports.o imports.o IOP_OBJS := $(IOP_OBJS:%=$(IOP_OBJS_DIR)%) IOP_INCS += -I$(PS2SDKSRC)/iop/dev9/poweroff/include/ -IOP_CFLAGS += -Os all: $(IOP_OBJS_DIR) $(IOP_BIN_DIR) $(IOP_BIN) diff --git a/iop/kernel/Makefile b/iop/kernel/Makefile index 1fd1b41c88f..b711d58513c 100644 --- a/iop/kernel/Makefile +++ b/iop/kernel/Makefile @@ -14,7 +14,8 @@ IOP_INC_DIR = include/ IOP_LIB = $(IOP_LIB_DIR)libkernel.a -IOP_OBJS = cdvdman.o heaplib.o intrman.o ioman.o libsd.o loadcore.o modload.o secrman.o sifcmd.o sifman.o sio2man.o stdio.o sysclib.o sysmem.o thbase.o thevent.o thsemap.o timrman.o usbd.o vblank.o +#TODO: remove the library because it's deprecated. +IOP_OBJS = #cdvdman.o heaplib.o intrman.o ioman.o libsd.o loadcore.o modload.o secrman.o sifcmd.o sifman.o sio2man.o stdio.o sysclib.o sysmem.o thbase.o thevent.o thsemap.o timrman.o usbd.o vblank.o IOP_OBJS := $(IOP_OBJS:%=$(IOP_OBJS_DIR)%) all: $(IOP_OBJS_DIR) $(IOP_LIB_DIR) $(IOP_LIB)