xref: /openbmc/qemu/hw/mem/meson.build (revision 5e437d3c)
1mem_ss = ss.source_set()
2mem_ss.add(files('memory-device.c'))
3mem_ss.add(when: 'CONFIG_FUZZ', if_true: files('sparse-mem.c'))
4mem_ss.add(when: 'CONFIG_DIMM', if_true: files('pc-dimm.c'))
5mem_ss.add(when: 'CONFIG_NPCM7XX', if_true: files('npcm7xx_mc.c'))
6mem_ss.add(when: 'CONFIG_NVDIMM', if_true: files('nvdimm.c'))
7
8softmmu_ss.add_all(when: 'CONFIG_MEM_DEVICE', if_true: mem_ss)
9