summaryrefslogtreecommitdiffstatshomepage
path: root/scripts
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2021-10-26 10:40:30 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2021-10-26 10:40:30 +0200
commit97a7d8bec86177090e8db5d0d5391d5cdf7bb875 (patch)
treef343007fad247ff48216cef57468af7e6f8f2ca8 /scripts
parentf317b4d5342eafbee5900ffa685673fdd17f398d (diff)
Remove steamlink
Diffstat (limited to 'scripts')
-rw-r--r--scripts/genie.lua12
-rw-r--r--scripts/src/3rdparty.lua6
-rw-r--r--scripts/toolchain.lua33
3 files changed, 1 insertions, 50 deletions
diff --git a/scripts/genie.lua b/scripts/genie.lua
index e427c30e544..8886fe2d0e6 100644
--- a/scripts/genie.lua
+++ b/scripts/genie.lua
@@ -150,7 +150,6 @@ newoption {
{ "windows", "Windows" },
{ "haiku", "Haiku" },
{ "solaris", "Solaris SunOS" },
- { "steamlink", "Steam Link" },
{ "rpi", "Raspberry Pi" },
{ "ci20", "Creator-Ci20" },
},
@@ -1239,17 +1238,6 @@ configuration { "linux-* or rpi or ci20"}
-configuration { "steamlink" }
- links {
- "dl",
- "EGL",
- "GLESv2",
- "SDL2",
- }
- defines {
- "EGL_API_FB",
- }
-
configuration { "rpi" }
links {
"SDL2",
diff --git a/scripts/src/3rdparty.lua b/scripts/src/3rdparty.lua
index c3748d688b3..fdc4b561c09 100644
--- a/scripts/src/3rdparty.lua
+++ b/scripts/src/3rdparty.lua
@@ -1311,13 +1311,9 @@ end
MAME_DIR .. "3rdparty/bx/include",
MAME_DIR .. "3rdparty/bimg/include",
MAME_DIR .. "3rdparty/bgfx/3rdparty/dxsdk/include",
+ MAME_DIR .. "3rdparty/bgfx/3rdparty/khronos",
}
- configuration { "not steamlink"}
- includedirs {
- MAME_DIR .. "3rdparty/bgfx/3rdparty/khronos",
- }
-
configuration { "android-*"}
buildoptions {
"-Wno-macro-redefined",
diff --git a/scripts/toolchain.lua b/scripts/toolchain.lua
index 72035a90110..8099f50baf2 100644
--- a/scripts/toolchain.lua
+++ b/scripts/toolchain.lua
@@ -38,7 +38,6 @@ newoption {
{ "osx-clang", "OSX (Clang compiler)" },
{ "rpi", "RaspberryPi" },
{ "solaris", "Solaris" },
- { "steamlink", "Steam Link" },
{ "ci20", "Creator-Ci20" },
},
}
@@ -222,16 +221,6 @@ function toolchain(_buildDir, _subDir)
location (_buildDir .. "projects/" .. _subDir .. "/".. _ACTION .. "-linux-clang")
end
- if "steamlink" == _OPTIONS["gcc"] then
- if not os.getenv("MARVELL_SDK_PATH") then
- print("Set MARVELL_SDK_PATH envrionment variable.")
- end
- premake.gcc.cc = "$(MARVELL_SDK_PATH)/toolchain/bin/armv7a-cros-linux-gnueabi-gcc"
- premake.gcc.cxx = "$(MARVELL_SDK_PATH)/toolchain/bin/armv7a-cros-linux-gnueabi-g++"
- premake.gcc.ar = "$(MARVELL_SDK_PATH)/toolchain/bin/armv7a-cros-linux-gnueabi-ar"
- location (_buildDir .. "projects/" .. _subDir .. "/".. _ACTION .. "-steamlink")
- end
-
if "rpi" == _OPTIONS["gcc"] then
if not os.getenv("RASPBERRY_SDK_PATH") then
print("Set RASPBERRY_SDK_PATH envrionment variable.")
@@ -559,28 +548,6 @@ function toolchain(_buildDir, _subDir)
configuration { "x64", "mingw64-gcc", "Debug" }
targetdir (_buildDir .. "mingw-gcc" .. "/bin/x64/Debug")
- configuration { "steamlink" }
- objdir ( _buildDir .. "steamlink/obj")
- defines {
- "__STEAMLINK__=1", -- There is no special prefedined compiler symbol to detect SteamLink, faking it.
- }
- buildoptions {
- "-marm",
- "-mfloat-abi=hard",
- "--sysroot=$(MARVELL_SDK_PATH)/rootfs",
- }
- linkoptions {
- "-static-libgcc",
- "-static-libstdc++",
- "--sysroot=$(MARVELL_SDK_PATH)/rootfs",
- }
-
- configuration { "steamlink", "Release" }
- targetdir (_buildDir .. "steamlink/bin/Release")
-
- configuration { "steamlink", "Debug" }
- targetdir (_buildDir .. "steamlink/bin/Debug")
-
configuration { "rpi" }
objdir ( _buildDir .. "rpi/obj")
libdirs {