Skip to contentSkip to conversation

qemu-kvm: Move extboot to other optionroms

PATCH Applied Jan Kiszka 2 participants 2 messages Jul 8, 2009

Subsystems (2)
lore
Share & tools
lore

Jan Kiszka

author
#0 lore raw

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.

---

 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
index eb64886..fc40431 100644
@@ -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
index c4a6f42..8a3f8a4 100644
@@ -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
similarity index 100%
rename from kvm/extboot/extboot.S
rename to pc-bios/optionrom/extboot.S
Applied
#1 lore raw
Quoted 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