From 3ab5a6ece5ce40a144b6838737f13a413651c5b1 Mon Sep 17 00:00:00 2001 From: Thomas Huth Date: Wed, 11 Sep 2019 20:56:08 +0200 Subject: hw/*/Makefile.objs: Move many .o files to common-objs We have many files that apparently do not depend on the target CPU configuration, i.e. which can be put into common-obj-y instead of obj-y. This way, the code can be shared for example between qemu-system-arm and qemu-system-aarch64, or the various big and little endian variants like qemu-system-sh4 and qemu-system-sh4eb, so that we do not have to compile the code multiple times anymore. Reviewed-by: Stefan Hajnoczi Message-Id: <20200130133841.10779-1-thuth@redhat.com> Signed-off-by: Thomas Huth --- hw/nvram/Makefile.objs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw/nvram') diff --git a/hw/nvram/Makefile.objs b/hw/nvram/Makefile.objs index 090df63..f3ad921 100644 --- a/hw/nvram/Makefile.objs +++ b/hw/nvram/Makefile.objs @@ -4,5 +4,5 @@ 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 -obj-$(CONFIG_NRF51_SOC) += nrf51_nvm.o -- cgit v1.1