Skip to content

Commit 1a2af22

Browse files
committed
fix condition for USB embedding
[skip actions]
1 parent 4f36cc1 commit 1a2af22

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
PSX ?= 0 # PSX DESR support
1717
HDD ?= 0 #wether to add internal HDD support
@@ -153,10 +153,12 @@ else
153153
EE_OBJS += sio2man_irx.o
154154
endif
155155

156-
ifneq ($(HAS_EMBED_IRX), 1)
156+
ifeq ($(HAS_EMBED_IRX), 1)
157157
$(info --- USB drivers will be embedded)
158158
EE_OBJS += usbd_irx.o bdm_irx.o bdmfs_fatfs_irx.o usbmass_bd_irx.o
159159
EE_CFLAGS += -DHAS_EMBEDDED_IRX
160+
else
161+
$(info --- USB drivers will be external)
160162
endif
161163

162164
ifeq ($(HDD), 1)

0 commit comments

Comments
 (0)