| 1 | stub_ss.add(files('stubs-all.c')) |
| 2 | user_ss.add(when: 'CONFIG_SEMIHOSTING', if_true: files( |
| 3 | 'user.c', |
| 4 | 'guestfd.c')) |
| 5 | system_ss.add(when: 'CONFIG_SEMIHOSTING', if_true: files( |
| 6 | 'config.c', |
| 7 | 'console.c', |
| 8 | 'guestfd.c', |
| 9 | 'uaccess.c', |
| 10 | 'syscalls.c', |
| 11 | )) |
| 12 | stub_ss.add(files( |
| 13 | 'stubs-system.c', |
| 14 | )) |
| 15 | system_ss.add(when: 'CONFIG_ARM_COMPATIBLE_SEMIHOSTING', |
| 16 | if_true: files('arm-compat-semi.c')) |
| 17 | stub_ss.add(files('arm-compat-semi-stub.c')) |
| 18 | |
| 19 | specific_ss.add(when: ['CONFIG_SEMIHOSTING', 'CONFIG_USER_ONLY'], |
| 20 | if_true: files('syscalls.c')) |
| 21 | specific_ss.add(when: ['CONFIG_ARM_COMPATIBLE_SEMIHOSTING', 'CONFIG_USER_ONLY'], |
| 22 | if_true: files('arm-compat-semi.c')) |