Skip to content

Commit

Permalink
Removed the Os compile option from dev9 and disabled building of libk…
Browse files Browse the repository at this point in the history
…ernel 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...
  • Loading branch information
sp193 committed Dec 30, 2016
1 parent 71cb278 commit 4c19331
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion iop/dev9/dev9/Makefile
Expand Up @@ -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)

Expand Down
3 changes: 2 additions & 1 deletion iop/kernel/Makefile
Expand Up @@ -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)
Expand Down

0 comments on commit 4c19331

Please sign in to comment.