2
0
Бранимир Караџић 1 жил өмнө
parent
commit
c300a0c0f6

+ 0 - 34
scripts/toolchain.lua

@@ -70,7 +70,6 @@ function toolchain(_buildDir, _libDir)
 			{ "android-x86_64",  "Android - x86_64"           },
 			{ "android-x86_64",  "Android - x86_64"           },
 			{ "wasm2js",         "Emscripten/Wasm2JS"         },
 			{ "wasm2js",         "Emscripten/Wasm2JS"         },
 			{ "wasm",            "Emscripten/Wasm"            },
 			{ "wasm",            "Emscripten/Wasm"            },
-			{ "freebsd",         "FreeBSD"                    },
 			{ "linux-gcc",       "Linux (GCC compiler)"       },
 			{ "linux-gcc",       "Linux (GCC compiler)"       },
 			{ "linux-gcc-afl",   "Linux (GCC + AFL fuzzer)"   },
 			{ "linux-gcc-afl",   "Linux (GCC + AFL fuzzer)"   },
 			{ "linux-clang",     "Linux (Clang compiler)"     },
 			{ "linux-clang",     "Linux (Clang compiler)"     },
@@ -88,7 +87,6 @@ function toolchain(_buildDir, _libDir)
 			{ "tvos-simulator",  "tvOS - Simulator"           },
 			{ "tvos-simulator",  "tvOS - Simulator"           },
 			{ "mingw-gcc",       "MinGW"                      },
 			{ "mingw-gcc",       "MinGW"                      },
 			{ "mingw-clang",     "MinGW (clang compiler)"     },
 			{ "mingw-clang",     "MinGW (clang compiler)"     },
-			{ "netbsd",          "NetBSD"                     },
 			{ "osx-x64",         "OSX - x64"                  },
 			{ "osx-x64",         "OSX - x64"                  },
 			{ "osx-arm64",       "OSX - ARM64"                },
 			{ "osx-arm64",       "OSX - ARM64"                },
 			{ "orbis",           "Orbis"                      },
 			{ "orbis",           "Orbis"                      },
@@ -259,9 +257,6 @@ function toolchain(_buildDir, _libDir)
 			premake.gcc.namestyle = "Emscripten"
 			premake.gcc.namestyle = "Emscripten"
 			location (path.join(_buildDir, "projects", _ACTION .. "-" .. _OPTIONS["gcc"]))
 			location (path.join(_buildDir, "projects", _ACTION .. "-" .. _OPTIONS["gcc"]))
 
 
-		elseif "freebsd" == _OPTIONS["gcc"] then
-			location (path.join(_buildDir, "projects", _ACTION .. "-freebsd"))
-
 		elseif "ios-arm"   == _OPTIONS["gcc"]
 		elseif "ios-arm"   == _OPTIONS["gcc"]
 			or "ios-arm64" == _OPTIONS["gcc"] then
 			or "ios-arm64" == _OPTIONS["gcc"] then
 			premake.gcc.cc  = "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang"
 			premake.gcc.cc  = "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang"
@@ -358,13 +353,9 @@ function toolchain(_buildDir, _libDir)
 --			premake.gcc.llvm = true
 --			premake.gcc.llvm = true
 			location (path.join(_buildDir, "projects", _ACTION .. "-mingw-clang"))
 			location (path.join(_buildDir, "projects", _ACTION .. "-mingw-clang"))
 
 
-		elseif "netbsd" == _OPTIONS["gcc"] then
-			location (path.join(_buildDir, "projects", _ACTION .. "-netbsd"))
-
 		elseif "osx-x64"   == _OPTIONS["gcc"]
 		elseif "osx-x64"   == _OPTIONS["gcc"]
 			or "osx-arm64" == _OPTIONS["gcc"] then
 			or "osx-arm64" == _OPTIONS["gcc"] then
 
 
-
 			if os.is("linux") then
 			if os.is("linux") then
 				if not os.getenv("OSXCROSS") then
 				if not os.getenv("OSXCROSS") then
 					print("Set OSXCROSS environment variable.")
 					print("Set OSXCROSS environment variable.")
@@ -918,23 +909,6 @@ function toolchain(_buildDir, _libDir)
 		objdir (path.join(_buildDir, "wasm/obj"))
 		objdir (path.join(_buildDir, "wasm/obj"))
 		libdirs { path.join(_libDir, "lib/wasm") }
 		libdirs { path.join(_libDir, "lib/wasm") }
 
 
-	configuration { "freebsd" }
-		targetdir (path.join(_buildDir, "freebsd/bin"))
-		objdir (path.join(_buildDir, "freebsd/obj"))
-		libdirs { path.join(_libDir, "lib/freebsd") }
-		includedirs {
-			path.join(bxDir, "include/compat/freebsd"),
-		}
-
-	configuration { "xbox360" }
-		targetdir (path.join(_buildDir, "xbox360/bin"))
-		objdir (path.join(_buildDir, "xbox360/obj"))
-		includedirs { path.join(bxDir, "include/compat/msvc") }
-		libdirs { path.join(_libDir, "lib/xbox360") }
-		defines {
-			"NOMINMAX",
-		}
-
 	configuration { "durango" }
 	configuration { "durango" }
 		targetdir (path.join(_buildDir, "durango/bin"))
 		targetdir (path.join(_buildDir, "durango/bin"))
 		objdir (path.join(_buildDir, "durango/obj"))
 		objdir (path.join(_buildDir, "durango/obj"))
@@ -945,14 +919,6 @@ function toolchain(_buildDir, _libDir)
 			"NOMINMAX",
 			"NOMINMAX",
 		}
 		}
 
 
-	configuration { "netbsd" }
-		targetdir (path.join(_buildDir, "netbsd/bin"))
-		objdir (path.join(_buildDir, "netbsd/obj"))
-		libdirs { path.join(_libDir, "lib/netbsd") }
-		includedirs {
-			path.join(bxDir, "include/compat/freebsd"),
-		}
-
 	configuration { "osx-x64" }
 	configuration { "osx-x64" }
 		targetdir (path.join(_buildDir, "osx-x64/bin"))
 		targetdir (path.join(_buildDir, "osx-x64/bin"))
 		objdir (path.join(_buildDir, "osx-x64/obj"))
 		objdir (path.join(_buildDir, "osx-x64/obj"))