| 1 | tricore_ss = ss.source_set() |
| 2 | tricore_ss.add(files( |
| 3 | 'cpu.c', |
| 4 | 'fpu_helper.c', |
| 5 | 'helper.c', |
| 6 | 'op_helper.c', |
| 7 | 'translate.c', |
| 8 | )) |
| 9 | tricore_ss.add(zlib) |
| 10 | |
| 11 | tricore_user_ss = ss.source_set() |
| 12 | tricore_user_ss.add(files('gdbstub.c')) |
| 13 | |
| 14 | tricore_common_system_ss = ss.source_set() |
| 15 | tricore_common_system_ss.add(files('gdbstub.c')) |
| 16 | |
| 17 | target_arch += {'tricore': tricore_ss} |
| 18 | target_user_arch += {'tricore': tricore_user_ss} |
| 19 | target_common_system_arch += {'tricore': tricore_common_system_ss} |