All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fabio Fantoni <fabio.fantoni@m2r.biz>
To: Wei Liu <wei.liu2@citrix.com>
Cc: Andrew Cooper <andrew.cooper3@citrix.com>,
	xen-devel@lists.xensource.com, Ian.Jackson@eu.citrix.com,
	Ian.Campbell@citrix.com
Subject: Re: [PATCH] tools: ovmf debug build only if tools debug is enabled
Date: Thu, 05 Dec 2013 10:00:48 +0100	[thread overview]
Message-ID: <52A040C0.9060604@m2r.biz> (raw)
In-Reply-To: <20131204162347.GB2589@zion.uk.xensource.com>

Il 04/12/2013 17:23, Wei Liu ha scritto:
> On Wed, Dec 04, 2013 at 03:47:02PM +0100, Fabio Fantoni wrote:
> [...]
>> I not found a working parameter to disable the print of instructions
>> to execute, is it really needed?
>> If yes, how should I do it?
>>
>> Thanks for any reply.
> I have a patch in queue for this:
>
>
>  From 646417d80779c592a578a20962aced402d94e580 Mon Sep 17 00:00:00 2001
> From: Wei Liu <wei.liu2@citrix.com>
> Date: Wed, 4 Dec 2013 16:21:23 +0000
> Subject: [PATCH] tools/ovmf-makefile: only build debug target when specified
>
> Signed-off-by: Wei Liu <wei.liu2@citrix.com>

Thispatch is better then no longer considered my patch.

> ---
>   tools/firmware/ovmf-makefile |   19 ++++++++++++++-----
>   1 file 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:

      reply	other threads:[~2013-12-05  9:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-31 14:02 [PATCH] tools: ovmf debug build only if tools debug is enabled Fabio Fantoni
2013-10-31 14:23 ` Wei Liu
2013-10-31 14:56   ` Fabio Fantoni
2013-10-31 14:34 ` Andrew Cooper
2013-10-31 14:52   ` Fabio Fantoni
2013-12-04 14:47     ` Fabio Fantoni
2013-12-04 16:23       ` Wei Liu
2013-12-05  9:00         ` Fabio Fantoni [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=52A040C0.9060604@m2r.biz \
    --to=fabio.fantoni@m2r.biz \
    --cc=Ian.Campbell@citrix.com \
    --cc=Ian.Jackson@eu.citrix.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=wei.liu2@citrix.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.