blob: 0d22f2b5727ebd75a21621941d85419b0d1eab71 [file] [log] [blame]
Marc-André Lureau97813b92019-08-15 15:45:58 +04001mem_ss = ss.source_set()
2mem_ss.add(files('memory-device.c'))
3mem_ss.add(when: 'CONFIG_DIMM', if_true: files('pc-dimm.c'))
Havard Skinnemoen1351f892020-09-10 22:20:56 -07004mem_ss.add(when: 'CONFIG_NPCM7XX', if_true: files('npcm7xx_mc.c'))
Marc-André Lureau97813b92019-08-15 15:45:58 +04005mem_ss.add(when: 'CONFIG_NVDIMM', if_true: files('nvdimm.c'))
6
7softmmu_ss.add_all(when: 'CONFIG_MEM_DEVICE', if_true: mem_ss)