3d81e8cf0c
The header target/arm/kvm-consts.h checks CONFIG_KVM which is marked as poisoned in common code, so the files that include this header have to be added to specific_ss and recompiled for each, qemu-system-arm and qemu-system-aarch64. However, since the kvm headers are only optionally used in kvm-constants.h for some sanity checks, we can additionally check the NEED_CPU_H macro first to avoid the poisoned CONFIG_KVM macro, so kvm-constants.h can also be used from "common" files (without the sanity checks - which should be OK since they are still done from other target-specific files instead). This way, and by adjusting some other include statements in the related files here and there, we can move some files from specific_ss into softmmu_ss, so that they only need to be compiled once during the build process. Signed-off-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-id: 20221202154023.293614-1-thuth@redhat.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org> |
||
---|---|---|
.. | ||
macio | ||
a9scu.h | ||
allwinner-cpucfg.h | ||
allwinner-h3-ccu.h | ||
allwinner-h3-dramc.h | ||
allwinner-h3-sysctrl.h | ||
allwinner-sid.h | ||
arm11scu.h | ||
arm_integrator_debug.h | ||
armsse-cpu-pwrctrl.h | ||
armsse-cpuid.h | ||
armsse-mhu.h | ||
armv7m_ras.h | ||
aspeed_hace.h | ||
aspeed_i3c.h | ||
aspeed_lpc.h | ||
aspeed_peci.h | ||
aspeed_sbc.h | ||
aspeed_scu.h | ||
aspeed_sdmc.h | ||
aspeed_xdma.h | ||
auxbus.h | ||
avr_power.h | ||
bcm2835_cprman_internals.h | ||
bcm2835_cprman.h | ||
bcm2835_mbox_defs.h | ||
bcm2835_mbox.h | ||
bcm2835_mphi.h | ||
bcm2835_powermgt.h | ||
bcm2835_property.h | ||
bcm2835_rng.h | ||
bcm2835_thermal.h | ||
cbus.h | ||
empty_slot.h | ||
grlib_ahb_apb_pnp.h | ||
imx6_ccm.h | ||
imx6_src.h | ||
imx6ul_ccm.h | ||
imx7_ccm.h | ||
imx7_gpr.h | ||
imx7_snvs.h | ||
imx25_ccm.h | ||
imx31_ccm.h | ||
imx_ccm.h | ||
imx_rngc.h | ||
iotkit-secctl.h | ||
iotkit-sysctl.h | ||
iotkit-sysinfo.h | ||
ivshmem.h | ||
lasi.h | ||
led.h | ||
mac_via.h | ||
mchp_pfsoc_dmc.h | ||
mchp_pfsoc_ioscb.h | ||
mchp_pfsoc_sysreg.h | ||
mips_cmgcr.h | ||
mips_cpc.h | ||
mips_itu.h | ||
mos6522.h | ||
mps2-fpgaio.h | ||
mps2-scc.h | ||
msf2-sysreg.h | ||
npcm7xx_clk.h | ||
npcm7xx_gcr.h | ||
npcm7xx_mft.h | ||
npcm7xx_pwm.h | ||
npcm7xx_rng.h | ||
nrf51_rng.h | ||
pca9552_regs.h | ||
pca9552.h | ||
pvpanic.h | ||
sifive_e_prci.h | ||
sifive_test.h | ||
sifive_u_otp.h | ||
sifive_u_prci.h | ||
stm32f2xx_syscfg.h | ||
stm32f4xx_exti.h | ||
stm32f4xx_syscfg.h | ||
tz-mpc.h | ||
tz-msc.h | ||
tz-ppc.h | ||
unimp.h | ||
virt_ctrl.h | ||
vmcoreinfo.h | ||
xlnx-versal-crl.h | ||
xlnx-versal-pmc-iou-slcr.h | ||
xlnx-versal-xramc.h | ||
xlnx-zynqmp-apu-ctrl.h | ||
xlnx-zynqmp-crf.h |