mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-09-06 18:05:37 +00:00
meson: convert hw/nvram
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
4a32844433
commit
9f6ede2f1a
|
@ -20,7 +20,6 @@ devices-dirs-y += isa/
|
|||
devices-dirs-y += misc/
|
||||
devices-dirs-y += net/
|
||||
devices-dirs-y += rdma/
|
||||
devices-dirs-y += nvram/
|
||||
endif
|
||||
|
||||
common-obj-y += $(devices-dirs-y)
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
subdir('core')
|
||||
subdir('mem')
|
||||
subdir('nubus')
|
||||
subdir('nvram')
|
||||
subdir('pci')
|
||||
subdir('pci-bridge')
|
||||
subdir('pci-host')
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
common-obj-$(CONFIG_DS1225Y) += ds1225y.o
|
||||
common-obj-$(CONFIG_NMC93XX_EEPROM) += eeprom93xx.o
|
||||
common-obj-$(CONFIG_AT24C) += eeprom_at24c.o
|
||||
common-obj-y += fw_cfg.o
|
||||
common-obj-$(CONFIG_CHRP_NVRAM) += chrp_nvram.o
|
||||
common-obj-$(CONFIG_MAC_NVRAM) += mac_nvram.o
|
||||
common-obj-$(CONFIG_NRF51_SOC) += nrf51_nvm.o
|
||||
obj-$(CONFIG_PSERIES) += spapr_nvram.o
|
9
hw/nvram/meson.build
Normal file
9
hw/nvram/meson.build
Normal file
|
@ -0,0 +1,9 @@
|
|||
softmmu_ss.add(files('fw_cfg.c'))
|
||||
softmmu_ss.add(when: 'CONFIG_CHRP_NVRAM', if_true: files('chrp_nvram.c'))
|
||||
softmmu_ss.add(when: 'CONFIG_DS1225Y', if_true: files('ds1225y.c'))
|
||||
softmmu_ss.add(when: 'CONFIG_NMC93XX_EEPROM', if_true: files('eeprom93xx.c'))
|
||||
softmmu_ss.add(when: 'CONFIG_AT24C', if_true: files('eeprom_at24c.c'))
|
||||
softmmu_ss.add(when: 'CONFIG_MAC_NVRAM', if_true: files('mac_nvram.c'))
|
||||
softmmu_ss.add(when: 'CONFIG_NRF51_SOC', if_true: files('nrf51_nvm.c'))
|
||||
|
||||
specific_ss.add(when: 'CONFIG_PSERIES', if_true: files('spapr_nvram.c'))
|
Loading…
Reference in a new issue