Make: do not use KERNEL_MODE unless BUILD_PRX is active

This commit is contained in:
cypress 2023-06-30 14:01:36 -04:00 committed by GitHub
parent eb069e78d2
commit 26fefa4096
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View file

@ -12,14 +12,13 @@ PSP_EBOOT_PIC1 = source/psp/pics/pic.png
PSP_FW_VERSION=400
MODE=-DKERNEL_MODE
ifeq ($(USE_GPROF),1)
GPROF_LIBS = -lpspprof
GPROF_FLAGS = -pg -DPROFILE
else
ifeq ($(DEBUG),1)
BUILD_PRX = 1
MODE=-DKERNEL_MODE
endif
endif

View file

@ -12,14 +12,13 @@ PSP_EBOOT_PIC1 = source/psp/pics/pic.png
PSP_FW_VERSION=400
MODE=-DKERNEL_MODE
ifeq ($(USE_GPROF),1)
GPROF_LIBS = -lpspprof
GPROF_FLAGS = -pg -DPROFILE
else
ifeq ($(DEBUG),1)
BUILD_PRX = 1
MODE=-DKERNEL_MODE
endif
endif