kvm: qemu: don't check per-vector mask bit before enable MSI-X
[kvm-userspace.git] / user / config-powerpc.mak
blobdd7ef5486a78d5514b841654a79e786f4ccf0bb1
1 CFLAGS += -I $(KERNELDIR)/include
2 CFLAGS += -Wa,-mregnames -I test/lib
3 CFLAGS += -ffreestanding
5 cstart := test/powerpc/cstart.o
7 cflatobjs += \
8 test/lib/powerpc/io.o
10 $(libcflat): LDFLAGS += -nostdlib
12 # these tests do not use libcflat
13 simpletests := \
14 test/powerpc/spin.bin \
15 test/powerpc/io.bin \
16 test/powerpc/sprg.bin
18 # theses tests use cstart.o, libcflat, and libgcc
19 tests := \
20 test/powerpc/exit.bin \
21 test/powerpc/helloworld.bin
23 include config-powerpc-$(PROCESSOR).mak
26 all: kvmtrace kvmctl $(libcflat) $(simpletests) $(tests)
28 $(simpletests): %.bin: %.o
29 $(CC) -nostdlib $^ -Wl,-T,flat.lds -o $@
31 $(tests): %.bin: $(cstart) %.o $(libcflat)
32 $(CC) -nostdlib $^ $(libgcc) -Wl,-T,flat.lds -o $@
34 kvmctl_objs = main-ppc.o iotable.o ../libkvm/libkvm.a
36 arch_clean:
37 $(RM) $(simpletests) $(tests) $(cstart)
38 $(RM) $(patsubst %.bin, %.elf, $(simpletests) $(tests))
39 $(RM) $(patsubst %.bin, %.o, $(simpletests) $(tests))