summaryrefslogtreecommitdiffstatshomepage
path: root/scripts
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2023-11-25 09:01:40 -0500
committer AJR <ajrhacker@users.noreply.github.com>2023-11-25 09:01:40 -0500
commit7174ef98d4ef11e315057a7bb88515c3fb265a00 (patch)
tree0b65bc03915f12ffe55087b63599f8da643941c8 /scripts
parent928aa6732d02b47362ad5eca34b99985c06b46f8 (diff)
skeleton/hudson_poems.cpp: Create and hook up skeleton Xtensa CPU device
Diffstat (limited to 'scripts')
-rw-r--r--scripts/src/cpu.lua9
1 files changed, 8 insertions, 1 deletions
diff --git a/scripts/src/cpu.lua b/scripts/src/cpu.lua
index d5012a8714a..52ba899263b 100644
--- a/scripts/src/cpu.lua
+++ b/scripts/src/cpu.lua
@@ -3911,10 +3911,17 @@ if opt_tool(CPUS, "EVOLUTION") then
end
--------------------------------------------------
--- Tensilica Xtensa, disassembler only
+-- Tensilica Xtensa
--@src/devices/cpu/xtensa/xtensa.h,CPUS["XTENSA"] = true
--------------------------------------------------
+if CPUS["XTENSA"] then
+ files {
+ MAME_DIR .. "src/devices/cpu/xtensa/xtensa.cpp",
+ MAME_DIR .. "src/devices/cpu/xtensa/xtensa.h",
+ }
+end
+
if opt_tool(CPUS, "XTENSA") then
table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/xtensa/xtensad.cpp")
table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/xtensa/xtensad.h")