Sony PlayStation2 Study
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
1.4 KiB

4 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. # _____ ___ ____ ___ ____
  2. # ____| | ____| | | |____|
  3. # | ___| |____ ___| ____| | \ PS2DEV Open Source Project.
  4. #-----------------------------------------------------------------------
  5. # Copyright 2001-2004, ps2dev - http://www.ps2dev.org
  6. # Licenced under Academic Free License version 2.0
  7. # Review ps2sdk README & LICENSE files for further details.
  8. # Enable to perform the SCE HDD check at the end of ATA device initialization.
  9. ATA_SCE_AUTH_HDD ?= 0
  10. # Enable to enable support for Multi-Word DMA (MWDMA) modes, as in early ATAD modules.
  11. ATA_MWDMA_MODES ?= 0
  12. # Enable to enable support for PIO modes 0-4 (as in early ATAD modules), instead of just PIO mode 0.
  13. ATA_ALL_PIO_MODES ?= 0
  14. # Disable to disable the workaround for bad GameStar compatible adaptors.
  15. ATA_GAMESTAR_WORKAROUND ?= 1
  16. IOP_BIN ?= ps2atad.irx
  17. IOP_INCS += -I$(PS2SDKSRC)/iop/dev9/dev9/include
  18. IOP_OBJS = ps2atad.o imports.o exports.o
  19. ifeq ($(ATA_SCE_AUTH_HDD),1)
  20. IOP_CFLAGS += -DATA_SCE_AUTH_HDD=1
  21. endif
  22. ifeq ($(ATA_MWDMA_MODES),1)
  23. IOP_CFLAGS += -DATA_MWDMA_MODES=1
  24. endif
  25. ifeq ($(ATA_ALL_PIO_MODES),1)
  26. IOP_CFLAGS += -DATA_ALL_PIO_MODES=1
  27. endif
  28. ifeq ($(ATA_GAMESTAR_WORKAROUND),1)
  29. IOP_CFLAGS += -DATA_GAMESTAR_WORKAROUND=1
  30. endif
  31. include $(PS2SDKSRC)/Defs.make
  32. include $(PS2SDKSRC)/iop/Rules.bin.make
  33. include $(PS2SDKSRC)/iop/Rules.make
  34. include $(PS2SDKSRC)/iop/Rules.release