mirror of
https://github.com/libretro/RetroArch
synced 2025-04-01 04:20:27 +00:00
Merge pull request #8487 from fjtrujy/master
[PS2] Compiling issues for IRX files
This commit is contained in:
commit
cd5e844ee4
@ -9,19 +9,20 @@ LIBCDVD_IRX_DIR = $(LIBCDVD_DIR)/lib
|
|||||||
#IRX modules
|
#IRX modules
|
||||||
# IRX modules - modules have to be in IRX_DIR
|
# IRX modules - modules have to be in IRX_DIR
|
||||||
IRX_FILES += freemtap.irx freepad.irx freesio2.irx iomanX.irx fileXio.irx mcman.irx mcserv.irx usbd.irx usbhdfsd.irx
|
IRX_FILES += freemtap.irx freepad.irx freesio2.irx iomanX.irx fileXio.irx mcman.irx mcserv.irx usbd.irx usbhdfsd.irx
|
||||||
IRX_FILES += freesd.irx audsrv.irx poweroff.irx cdvd.irx
|
IRX_FILES += freesd.irx audsrv.irx poweroff.irx
|
||||||
IRX_C_FILES = $(IRX_FILES:.irx=_irx.c)
|
IRX_C_FILES = $(IRX_FILES:.irx=_irx.c) cdvd_irx.c
|
||||||
|
|
||||||
|
all: cdvd irxs
|
||||||
|
|
||||||
# Specific file name and output per IRX Module
|
# Specific file name and output per IRX Module
|
||||||
%.irx:
|
%.irx:
|
||||||
if [[ "$(@)" == "cdvd.irx" ]]; then \
|
$(EE_BIN2C) $(IRX_DIR)/$@ $(@:.irx=_irx.c) $(@:.irx=_irx)
|
||||||
$(MAKE) -C $(LIBCDVD_DIR); \
|
|
||||||
$(EE_BIN2C) $(LIBCDVD_IRX_DIR)/$@ $(@:.irx=_irx.c) $(@:.irx=_irx); \
|
|
||||||
else \
|
|
||||||
$(EE_BIN2C) $(IRX_DIR)/$@ $(@:.irx=_irx.c) $(@:.irx=_irx); \
|
|
||||||
fi
|
|
||||||
|
|
||||||
all: $(IRX_FILES)
|
irxs: $(IRX_FILES)
|
||||||
|
|
||||||
|
cdvd:
|
||||||
|
$(MAKE) -C $(LIBCDVD_DIR)
|
||||||
|
$(EE_BIN2C) $(LIBCDVD_IRX_DIR)/$@.irx $@_irx.c $@_irx
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(IRX_C_FILES)
|
rm -f $(IRX_C_FILES)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user