[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen master] ipxe: produce a single binary from its build
commit 53a26ef563ab0b018cbd3f55c38ff9168a7a6ca5 Author: Wei Liu <wei.liu2@xxxxxxxxxx> AuthorDate: Mon Jul 16 15:02:51 2018 +0100 Commit: Wei Liu <wei.liu2@xxxxxxxxxx> CommitDate: Mon Jul 16 16:08:49 2018 +0100 ipxe: produce a single binary from its build And switch hvmloader/Makefile to use that binary. This will help later when we change hvmloader to pick a user provided binary. No functional change. Signed-off-by: Wei Liu <wei.liu2@xxxxxxxxxx> Acked-by: Jan Beulich <jbeulich@xxxxxxxx> --- tools/firmware/etherboot/Makefile | 7 ++++++- tools/firmware/hvmloader/Makefile | 8 ++++---- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/tools/firmware/etherboot/Makefile b/tools/firmware/etherboot/Makefile index e33458d2fe..4de6d24a13 100644 --- a/tools/firmware/etherboot/Makefile +++ b/tools/firmware/etherboot/Makefile @@ -18,11 +18,16 @@ D=ipxe T=ipxe.tar.gz ROMS = $(addprefix $D/src/bin/, $(addsuffix .rom, $(ETHERBOOT_NICS))) +ROM = $D/src/bin/ipxe.bin .NOTPARALLEL: .PHONY: all -all: $(ROMS) +all: $(ROM) + +$(ROM): $(ROMS) + cat $^ > $@.tmp + mv -f $@.tmp $@ %.rom: $D/src/arch/i386/Makefile $(MAKE) -C $D/src bin/$(*F).rom diff --git a/tools/firmware/hvmloader/Makefile b/tools/firmware/hvmloader/Makefile index a5b4c32c1a..16255ebddd 100644 --- a/tools/firmware/hvmloader/Makefile +++ b/tools/firmware/hvmloader/Makefile @@ -51,7 +51,7 @@ CIRRUSVGA_ROM := ../vgabios/VGABIOS-lgpl-latest.cirrus.debug.bin else CIRRUSVGA_ROM := ../vgabios/VGABIOS-lgpl-latest.cirrus.bin endif -ETHERBOOT_ROMS := $(addprefix ../etherboot/ipxe/src/bin/, $(addsuffix .rom, $(ETHERBOOT_NICS))) +ETHERBOOT_ROM := ../etherboot/ipxe/src/bin/ipxe.bin endif ROMS := @@ -60,7 +60,7 @@ ifeq ($(CONFIG_ROMBIOS),y) OBJS += optionroms.o 32bitbios_support.o rombios.o CFLAGS += -DENABLE_ROMBIOS ROMBIOS_ROM := $(ROMBIOS_DIR)/BIOS-bochs-latest -ROMS += $(ROMBIOS_ROM) $(STDVGA_ROM) $(CIRRUSVGA_ROM) $(ETHERBOOT_ROMS) +ROMS += $(ROMBIOS_ROM) $(STDVGA_ROM) $(CIRRUSVGA_ROM) $(ETHERBOOT_ROM) endif .PHONY: all @@ -105,9 +105,9 @@ ifneq ($(CIRRUSVGA_ROM),) sh ../../misc/mkhex vgabios_cirrusvga $(CIRRUSVGA_ROM) >> $@.new echo "#endif" >> $@.new endif -ifneq ($(ETHERBOOT_ROMS),) +ifneq ($(ETHERBOOT_ROM),) echo "#ifdef ROM_INCLUDE_ETHERBOOT" >> $@.new - sh ../../misc/mkhex etherboot $(ETHERBOOT_ROMS) >> $@.new + sh ../../misc/mkhex etherboot $(ETHERBOOT_ROM) >> $@.new echo "#endif" >> $@.new endif -- generated by git-patchbot for /home/xen/git/xen.git#master _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |