Improve naming of PSX related ENV variables
This commit is contained in:
@@ -10,24 +10,27 @@ endif
|
||||
# Add regions on your own
|
||||
# Extend them with what you need
|
||||
ifeq ($(REGION),SCEE)
|
||||
export TV_FORMAT=PAL
|
||||
export LICENSE=LICENSEE
|
||||
export PSX_TV_FORMAT=PAL
|
||||
export PSX_LICENSE=LICENSEE
|
||||
export PSX_BOOT_FILE=XXXX_AAA.AA
|
||||
endif
|
||||
ifeq ($(REGION),SCEA)
|
||||
export TV_FORMAT=NTSC
|
||||
export LICENSE=LICENSEA
|
||||
export PSX_TV_FORMAT=NTSC
|
||||
export PSX_LICENSE=LICENSEA
|
||||
export PSX_BOOT_FILE=XXXX_AAA.AA
|
||||
endif
|
||||
ifeq ($(REGION),SCEI)
|
||||
export TV_FORMAT=NTSC
|
||||
export LICENSE=LICENSEJ
|
||||
export PSX_TV_FORMAT=NTSC
|
||||
export PSX_LICENSE=LICENSEJ
|
||||
export PSX_BOOT_FILE=XXXX_AAA.AA
|
||||
endif
|
||||
|
||||
ifndef TV_FORMAT
|
||||
$(error TV_FORMAT has not be set! REGION not specified?)
|
||||
ifndef PSX_TV_FORMAT
|
||||
$(error PSX_TV_FORMAT has not be set! REGION not specified?)
|
||||
endif
|
||||
|
||||
ifndef LICENSE
|
||||
$(error LICENSE has not be set! REGION not specified?)
|
||||
ifndef PSX_LICENSE
|
||||
$(error PSX_LICENSE has not be set! REGION not specified?)
|
||||
endif
|
||||
|
||||
all clean rebuild: |assets_$(MAKECMDGOALS) application_$(MAKECMDGOALS) cd_$(MAKECMDGOALS)
|
||||
|
Reference in New Issue
Block a user