Skip to contentSkip to conversation

kvmtool: arm: move PMU support into arm64 only

PATCH New Andre Przywara 1 participant 1 message Mar 11, 2016

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kvmtool: arm: move PMU support into arm64 only

We only support the PMU emulation for arm64 at the moment, so lets only compile the support there.
This fixes compilation for arm.

---
Hi Will,

this is one solution of the problem, not sure we should rather fix this probably by making it work for arm too.

Cheers,
Andre

 Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Makefile +2 -2
index 1f0196f..8f3477a 100644
@@ -153,8 +153,7 @@ endif
 
 # ARM
 OBJS_ARM_COMMON		:= arm/fdt.o arm/gic.o arm/ioport.o arm/irq.o \
-			   arm/kvm.o arm/kvm-cpu.o arm/pci.o arm/timer.o \
-			   arm/pmu.o
+			   arm/kvm.o arm/kvm-cpu.o arm/pci.o arm/timer.o
 HDRS_ARM_COMMON		:= arm/include
 ifeq ($(ARCH), arm)
 	DEFINES		+= -DCONFIG_ARM
@@ -174,6 +173,7 @@ ifeq ($(ARCH), arm64)
 	OBJS		+= $(OBJS_ARM_COMMON)
 	OBJS		+= arm/aarch64/arm-cpu.o
 	OBJS		+= arm/aarch64/kvm-cpu.o
+	OBJS		+= arm/pmu.o
 	ARCH_INCLUDE	:= $(HDRS_ARM_COMMON)
 	ARCH_INCLUDE	+= -Iarm/aarch64/include
 
Signature · 1 line
2.6.4