Skip to content

Commit 3a9c90b

Browse files
authored
Merge branch 'israpps:main' into main
2 parents c6bfd16 + 1a2af22 commit 3a9c90b

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

Makefile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export HEADER
1111

1212

1313
# ---{BUILD CFG}--- #
14-
HAS_EMBED_IRX = 1 # whether to embed or not non vital IRX (wich will be loaded from memcard files)
14+
HAS_EMBED_IRX ?= 1# whether to embed or not non vital IRX (wich will be loaded from memcard files)
1515
DEBUG ?= 0
1616
CHAINLOAD ?= 0 # Only inits the system and boots CHAINLOAD_PATH from the memory card
1717
CHAINLOAD_PATH ?= "mc?:BOOT/PAYLOAD.ELF"
@@ -161,10 +161,12 @@ else
161161
EE_OBJS += sio2man_irx.o
162162
endif
163163

164-
ifneq ($(HAS_EMBED_IRX), 1)
164+
ifeq ($(HAS_EMBED_IRX), 1)
165165
$(info --- USB drivers will be embedded)
166166
EE_OBJS += usbd_irx.o bdm_irx.o bdmfs_fatfs_irx.o usbmass_bd_irx.o
167167
EE_CFLAGS += -DHAS_EMBEDDED_IRX
168+
else
169+
$(info --- USB drivers will be external)
168170
endif
169171

170172
ifeq ($(HDD), 1)

0 commit comments

Comments
 (0)