2019-08-15 14:45:58 +03:00
|
|
|
mem_ss = ss.source_set()
|
|
|
|
mem_ss.add(files('memory-device.c'))
|
2021-03-15 17:05:10 +03:00
|
|
|
mem_ss.add(when: 'CONFIG_FUZZ', if_true: files('sparse-mem.c'))
|
2019-08-15 14:45:58 +03:00
|
|
|
mem_ss.add(when: 'CONFIG_DIMM', if_true: files('pc-dimm.c'))
|
2020-09-11 08:20:56 +03:00
|
|
|
mem_ss.add(when: 'CONFIG_NPCM7XX', if_true: files('npcm7xx_mc.c'))
|
2019-08-15 14:45:58 +03:00
|
|
|
mem_ss.add(when: 'CONFIG_NVDIMM', if_true: files('nvdimm.c'))
|
|
|
|
|
|
|
|
softmmu_ss.add_all(when: 'CONFIG_MEM_DEVICE', if_true: mem_ss)
|