hw/cpu/a9mpcore: Build it only once
hw/cpu/a9mpcore.c doesn't require "cpu.h" anymore. By removing it, the unit become target agnostic: we can build it once. Update meson. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20240118200643.29037-13-philmd@linaro.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
		
							parent
							
								
									9ab3ac5ab6
								
							
						
					
					
						commit
						3896b6ffff
					
				@ -15,7 +15,7 @@
 | 
				
			|||||||
#include "hw/irq.h"
 | 
					#include "hw/irq.h"
 | 
				
			||||||
#include "hw/qdev-properties.h"
 | 
					#include "hw/qdev-properties.h"
 | 
				
			||||||
#include "hw/core/cpu.h"
 | 
					#include "hw/core/cpu.h"
 | 
				
			||||||
#include "cpu.h"
 | 
					#include "target/arm/cpu-qom.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define A9_GIC_NUM_PRIORITY_BITS    5
 | 
					#define A9_GIC_NUM_PRIORITY_BITS    5
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -2,5 +2,5 @@ system_ss.add(files('core.c', 'cluster.c'))
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
system_ss.add(when: 'CONFIG_ARM11MPCORE', if_true: files('arm11mpcore.c'))
 | 
					system_ss.add(when: 'CONFIG_ARM11MPCORE', if_true: files('arm11mpcore.c'))
 | 
				
			||||||
system_ss.add(when: 'CONFIG_REALVIEW', if_true: files('realview_mpcore.c'))
 | 
					system_ss.add(when: 'CONFIG_REALVIEW', if_true: files('realview_mpcore.c'))
 | 
				
			||||||
specific_ss.add(when: 'CONFIG_A9MPCORE', if_true: files('a9mpcore.c'))
 | 
					system_ss.add(when: 'CONFIG_A9MPCORE', if_true: files('a9mpcore.c'))
 | 
				
			||||||
specific_ss.add(when: 'CONFIG_A15MPCORE', if_true: files('a15mpcore.c'))
 | 
					specific_ss.add(when: 'CONFIG_A15MPCORE', if_true: files('a15mpcore.c'))
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user