summaryrefslogtreecommitdiffstatshomepage
path: root/scripts
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2020-02-29 18:32:29 +1100
committer Vas Crabb <vas@vastheman.com>2020-02-29 18:32:52 +1100
commitf011a9134d0e0c789db24fa25c798fb2ff9e8387 (patch)
tree98bedc32e4a4b9903706d06c693c303bbef97870 /scripts
parent46676197c5610a258fcd2440589a13a2cb945149 (diff)
clean up crud (nw)
Diffstat (limited to 'scripts')
-rw-r--r--scripts/src/cpu.lua4
-rw-r--r--scripts/toolchain.lua16
2 files changed, 3 insertions, 17 deletions
diff --git a/scripts/src/cpu.lua b/scripts/src/cpu.lua
index 3cf6ccc28e5..774511e1881 100644
--- a/scripts/src/cpu.lua
+++ b/scripts/src/cpu.lua
@@ -3138,7 +3138,9 @@ end
--------------------------------------------------
-- NEC 78K
---@src/devices/cpu/upd78k/upd78k.h,CPUS["UPD78K"] = true
+--@src/devices/cpu/upd78k/upd78k0.h,CPUS["UPD78K"] = true
+--@src/devices/cpu/upd78k/upd78k2.h,CPUS["UPD78K"] = true
+--@src/devices/cpu/upd78k/upd78k3.h,CPUS["UPD78K"] = true
--------------------------------------------------
if (CPUS["UPD78K"]~=null) then
diff --git a/scripts/toolchain.lua b/scripts/toolchain.lua
index 45734c11971..4823083f0aa 100644
--- a/scripts/toolchain.lua
+++ b/scripts/toolchain.lua
@@ -262,14 +262,6 @@ function toolchain(_buildDir, _subDir)
end
premake.gcc.cc = toolchainPrefix .. "gcc"
premake.gcc.cxx = toolchainPrefix .. "g++"
--- work around GCC 4.9.2 not having proper linker for LTO=1 usage
- local version_4_ar = str_to_version(_OPTIONS["gcc_version"])
- if (version_4_ar < 50000) then
- premake.gcc.ar = toolchainPrefix .. "ar"
- end
- if (version_4_ar >= 50000) then
- premake.gcc.ar = toolchainPrefix .. "gcc-ar"
- end
location (_buildDir .. "projects/" .. _subDir .. "/".. _ACTION .. "-mingw32-gcc")
end
@@ -282,14 +274,6 @@ function toolchain(_buildDir, _subDir)
end
premake.gcc.cc = toolchainPrefix .. "gcc"
premake.gcc.cxx = toolchainPrefix .. "g++"
--- work around GCC 4.9.2 not having proper linker for LTO=1 usage
- local version_4_ar = str_to_version(_OPTIONS["gcc_version"])
- if (version_4_ar < 50000) then
- premake.gcc.ar = toolchainPrefix .. "ar"
- end
- if (version_4_ar >= 50000) then
- premake.gcc.ar = toolchainPrefix .. "gcc-ar"
- end
location (_buildDir .. "projects/" .. _subDir .. "/".. _ACTION .. "-mingw64-gcc")
end