mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Pekka Enberg <penberg@kernel.org>
To: Borislav Petkov <bp@alien8.de>
Cc: LKML <linux-kernel@vger.kernel.org>,
	Sasha Levin <levinsasha928@gmail.com>,
	Asias He <asias.hejun@gmail.com>
Subject: Re: [PATCH] tools/kvm: Add a .s file rule
Date: Sun, 21 Oct 2012 18:19:24 +0300 (EEST)	[thread overview]
Message-ID: <alpine.LFD.2.02.1210211819130.1965@tux.localdomain> (raw)
In-Reply-To: <1350757194-14498-1-git-send-email-bp@alien8.de>

On Sat, 20 Oct 2012, Borislav Petkov wrote:
> Add a rule to the kvm tool Makefile to build .asm versions of the files.
> This is good for debugging purposes.
> 
> Cc: Pekka Enberg <penberg@kernel.org>
> Cc: Sasha Levin <levinsasha928@gmail.com>
> Cc: Asias He <asias.hejun@gmail.com>
> Signed-off-by: Borislav Petkov <bp@alien8.de>

Applied, thanks Borislav!

> ---
>  tools/kvm/Makefile | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/tools/kvm/Makefile b/tools/kvm/Makefile
> index 903001e80951..64f2646e5966 100644
> --- a/tools/kvm/Makefile
> +++ b/tools/kvm/Makefile
> @@ -314,6 +314,9 @@ util/rbtree.d: ../../lib/rbtree.c
>  %.d: %.c
>  	$(Q) $(CC) -M -MT $(patsubst %.d,%.o,$@) $(CFLAGS) $< -o $@
>  
> +%.s: %.c
> +	$(Q) $(CC) -o $@ -S $(CFLAGS) -fverbose-asm $<
> +
>  # The header file common-cmds.h is needed for compilation of builtin-help.c.
>  builtin-help.d: $(KVM_INCLUDE)/common-cmds.h
>  
> -- 
> 1.8.0.rc2
> 
> 

      reply	other threads:[~2012-10-21 15:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-20 18:19 Borislav Petkov
2012-10-21 15:19 ` Pekka Enberg [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=alpine.LFD.2.02.1210211819130.1965@tux.localdomain \
    --to=penberg@kernel.org \
    --cc=asias.hejun@gmail.com \
    --cc=bp@alien8.de \
    --cc=levinsasha928@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®