mirror of https://gitee.com/openkylin/qemu.git
8 lines
316 B
Meson
8 lines
316 B
Meson
mem_ss = ss.source_set()
|
|
mem_ss.add(files('memory-device.c'))
|
|
mem_ss.add(when: 'CONFIG_DIMM', if_true: files('pc-dimm.c'))
|
|
mem_ss.add(when: 'CONFIG_NPCM7XX', if_true: files('npcm7xx_mc.c'))
|
|
mem_ss.add(when: 'CONFIG_NVDIMM', if_true: files('nvdimm.c'))
|
|
|
|
softmmu_ss.add_all(when: 'CONFIG_MEM_DEVICE', if_true: mem_ss)
|