[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen master] tools/ovmf-makefile: only build debug target when specified
commit b1eb91ed58f9cf9d3144424810752807eab27f57 Author: Wei Liu <wei.liu2@xxxxxxxxxx> AuthorDate: Thu Dec 5 17:29:33 2013 +0000 Commit: Ian Campbell <ian.campbell@xxxxxxxxxx> CommitDate: Fri Dec 6 11:51:45 2013 +0000 tools/ovmf-makefile: only build debug target when specified Signed-off-by: Wei Liu <wei.liu2@xxxxxxxxxx> Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx> --- tools/firmware/ovmf-makefile | 19 ++++++++++++++----- 1 files changed, 14 insertions(+), 5 deletions(-) diff --git a/tools/firmware/ovmf-makefile b/tools/firmware/ovmf-makefile index 073ed44..1ad041f 100644 --- a/tools/firmware/ovmf-makefile +++ b/tools/firmware/ovmf-makefile @@ -1,16 +1,25 @@ # OVMF building system is not ready yet to run in parallel. # Force it to be serial in order to exploit parallelism for neighbors. +XEN_ROOT=$(CURDIR)/../../.. +include $(XEN_ROOT)/tools/Rules.mk + +ifeq ($(debug),y) +TARGET=DEBUG +else +TARGET=RELEASE +endif + .NOTPARALLEL: MAKEFLAGS += -j1 .PHONY: all -all: ovmf.bin +all: build -.PHONY: ovmf.bin -ovmf.bin: - OvmfPkg/build.sh -a X64 - cp Build/OvmfX64/DEBUG_GCC*/FV/OVMF.fd ovmf.bin +.PHONY: build +build: + OvmfPkg/build.sh -a X64 -b $(TARGET) + cp Build/OvmfX64/$(TARGET)_GCC*/FV/OVMF.fd ovmf.bin .PHONY: clean clean: -- generated by git-patchbot for /home/xen/git/xen.git#master _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |