|
|
|
@ -35,21 +35,19 @@ DEFINES = [
@@ -35,21 +35,19 @@ DEFINES = [
|
|
|
|
|
'XASH_ARMv7', |
|
|
|
|
'XASH_ARMv8', |
|
|
|
|
'XASH_BIG_ENDIAN', |
|
|
|
|
'XASH_BSD', |
|
|
|
|
'XASH_DOS4GW', |
|
|
|
|
'XASH_E2K', |
|
|
|
|
'XASH_EMSCRIPTEN', |
|
|
|
|
'XASH_FREEBSD', |
|
|
|
|
'XASH_HAIKU', |
|
|
|
|
'XASH_IOS', |
|
|
|
|
'XASH_IRIX', |
|
|
|
|
'XASH_JS', |
|
|
|
|
'XASH_LINUX', |
|
|
|
|
'XASH_LINUX_UNKNOWN', |
|
|
|
|
'XASH_LITTLE_ENDIAN', |
|
|
|
|
'XASH_MINGW', |
|
|
|
|
'XASH_MIPS', |
|
|
|
|
'XASH_PPC', |
|
|
|
|
'XASH_MOBILE_PLATFORM', |
|
|
|
|
'XASH_MSVC', |
|
|
|
|
'XASH_NETBSD', |
|
|
|
|
'XASH_OPENBSD', |
|
|
|
|
'XASH_POSIX', |
|
|
|
@ -59,7 +57,6 @@ DEFINES = [
@@ -59,7 +57,6 @@ DEFINES = [
|
|
|
|
|
'XASH_RISCV_SOFTFP', |
|
|
|
|
'XASH_SERENITY', |
|
|
|
|
'XASH_WIN32', |
|
|
|
|
'XASH_WIN64', |
|
|
|
|
'XASH_X86', |
|
|
|
|
'XASH_NSWITCH', |
|
|
|
|
'XASH_PSVITA', |
|
|
|
@ -78,6 +75,8 @@ def configure(conf):
@@ -78,6 +75,8 @@ def configure(conf):
|
|
|
|
|
# engine/common/build.c |
|
|
|
|
if conf.env.XASH_ANDROID: |
|
|
|
|
buildos = "android" |
|
|
|
|
elif conf.env.XASH_LINUX_UNKNOWN: |
|
|
|
|
buildos = "linuxunkabi" |
|
|
|
|
elif conf.env.XASH_WIN32 or conf.env.XASH_LINUX or conf.env.XASH_APPLE: |
|
|
|
|
buildos = "" # no prefix for default OS |
|
|
|
|
elif conf.env.XASH_FREEBSD: |
|
|
|
@ -98,6 +97,8 @@ def configure(conf):
@@ -98,6 +97,8 @@ def configure(conf):
|
|
|
|
|
buildos = "nswitch" |
|
|
|
|
elif conf.env.XASH_PSVITA: |
|
|
|
|
buildos = "psvita" |
|
|
|
|
elif conf.env.XASH_IRIX: |
|
|
|
|
buildos = "irix" |
|
|
|
|
else: |
|
|
|
|
conf.fatal("Place your operating system name in build.h and library_naming.py!\n" |
|
|
|
|
"If this is a mistake, try to fix conditions above and report a bug") |
|
|
|
@ -136,12 +137,6 @@ def configure(conf):
@@ -136,12 +137,6 @@ def configure(conf):
|
|
|
|
|
buildarch += "64" |
|
|
|
|
if conf.env.XASH_LITTLE_ENDIAN: |
|
|
|
|
buildarch += "el" |
|
|
|
|
elif conf.env.XASH_PPC: |
|
|
|
|
buildarch = "powerpc" |
|
|
|
|
if conf.env.XASH_64BIT: |
|
|
|
|
buildarch += "64" |
|
|
|
|
if conf.env.XASH_LITTLE_ENDIAN: |
|
|
|
|
buildarch += "le" |
|
|
|
|
elif conf.env.XASH_RISCV: |
|
|
|
|
buildarch = "riscv" |
|
|
|
|
if conf.env.XASH_64BIT: |
|
|
|
|