xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Keir Fraser <keir.xen@gmail.com>
To: Jan Beulich <JBeulich@suse.com>, xen-devel <xen-devel@lists.xen.org>
Subject: Re: [PATCH] also allow building .s files from .c ones
Date: Tue, 09 Jul 2013 16:20:57 +0100	[thread overview]
Message-ID: <CE01E8E9.578FD%keir.xen@gmail.com> (raw)
In-Reply-To: <51DC3F5202000078000E399C@nat28.tlf.novell.com>

On 09/07/2013 15:50, "Jan Beulich" <JBeulich@suse.com> wrote:

> ... along the lines of allowing .i files to be built from .c ones as
> well as .s from .S (aiding the analysis of occasional build problems).
> 
> Signed-off-by: Jan Beulich <jbeulich@suse.com>

Acked-by: Keir Fraser <keir@xen.org>

> --- a/xen/Makefile
> +++ b/xen/Makefile
> @@ -195,7 +195,7 @@ _MAP:
>  .PHONY: FORCE
>  FORCE:
>  
> -%.o %.i: %.c FORCE
> +%.o %.i %.s: %.c FORCE
> $(MAKE) -f $(BASEDIR)/Rules.mk -C $(*D) $(@F)
>  
>  %.o %.s: %.S FORCE
> --- a/xen/Rules.mk
> +++ b/xen/Rules.mk
> @@ -177,6 +177,9 @@ $(filter %.init.o,$(obj-y) $(obj-bin-y)
>  %.i: %.c Makefile
> $(CPP) $(CFLAGS) $< -o $@
>  
> +%.s: %.c Makefile
> + $(CC) $(CFLAGS) -S $< -o $@
> +
>  # -std=gnu{89,99} gets confused by # as an end-of-line comment marker
>  %.s: %.S Makefile
> $(CPP) $(AFLAGS) $< -o $@
> 
> 
> 

      reply	other threads:[~2013-07-09 15:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-09 14:50 [PATCH] also allow building .s files from .c ones Jan Beulich
2013-07-09 15:20 ` Keir Fraser [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=CE01E8E9.578FD%keir.xen@gmail.com \
    --to=keir.xen@gmail.com \
    --cc=JBeulich@suse.com \
    --cc=xen-devel@lists.xen.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;
as well as URLs for NNTP newsgroup(s).