Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/_premake_init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
p.PPC64,
p.WASM32,
p.WASM64,
p.E2K
p.E2K,
p.MIPS64EL
},
aliases = {
i386 = p.X86,
Expand Down
1 change: 1 addition & 0 deletions src/base/_foundation.lua
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@
premake.WASM32 = "wasm32"
premake.WASM64 = "wasm64"
premake.E2K = "e2k"
premake.MIPS64EL = "mips64el"


---
Expand Down
4 changes: 4 additions & 0 deletions src/host/premake.h
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,10 @@
#define PLATFORM_ARCHITECTURE "ppc64"
#elif defined(__ppc__) || defined(__powerpc__)
#define PLATFORM_ARCHITECTURE "ppc"
#elif (defined(__mips) && defined (_ABI64) && \
defined(__BYTE_ORDER__) && defined(__ORDER_LITTLE_ENDIAN__) && \
(__BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__))
#define PLATFORM_ARCHITECTURE "mips64el"
#elif !defined(RC_INVOKED)
#error Unknown architecture detected
#endif
Expand Down
1 change: 1 addition & 0 deletions website/docs/architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ architecture ("value")
* `wasm32`,
* `wasm64`,
* `e2k`,
* `mips64el`,
* `armv5`: Only supported in VSAndroid projects
* `armv7`: Only supported in VSAndroid projects
* `aarch64`: Only supported in VSAndroid projects
Expand Down
Loading