qemu-kvm: Move extboot to other optionroms
PATCH 1/1 qemu-kvm: Move extboot to other optionroms
This unbreaks out-of-tree builds and reduces the differences to upstream's top-level Makefile.
Signed-off-by Jan Kiszka <[email protected]>
---
Makefile | 11 - kvm/extboot/extboot.S | 695 ------------------------------------------- pc-bios/optionrom/Makefile | 2 pc-bios/optionrom/extboot.S | 695 +++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 697 insertions(+), 706 deletions(-) delete mode 100644 kvm/extboot/extboot.S create mode 100644 pc-bios/optionrom/extboot.S
Makefile +1 -10
@@ -444,18 +444,9 @@ tarbin: # Include automatically generated dependency files -include $(wildcard *.d audio/*.d slirp/*.d block/*.d) -.PHONY: kvm/extboot - build-targets-i386 = $(build-targets-x86) build-targets-x86_64 = $(build-targets-x86) -build-targets-x86 = kvm/extboot +build-targets-x86 = build-targets-ia64 = all: $(build-targets-$(ARCH)) - -kvm/extboot: - $(MAKE) -C $@ - if ! [ -f pc-bios/extboot.bin ] \ - || ! cmp -s pc-bios/extboot.bin $@/extboot.bin; then \ - cp $@/extboot.bin pc-bios/extboot.bin; \ - fi
pc-bios/optionrom/Makefile +1 -1
@@ -29,7 +29,7 @@ ifeq ($(call cc-option-yn,-fno-stack-protector),y) CFLAGS += -fno-stack-protector endif -build-all: multiboot.bin +build-all: multiboot.bin extboot.bin %.o: %.S $(CC) $(CFLAGS) -o $@ -c $<
pc-bios/optionrom/extboot.S renamed from kvm/extboot/extboot.S +0 -0
Avi Kivity
AppliedQuoted 3 lines · Jan Kiszka
This unbreaks out-of-tree builds and reduces the differences to upstream's top-level
Makefile.
Applied, thanks.
Signature · 1 line
error compiling committee.c: too many arguments to function