All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hollis Blanchard <hollisb@us.ibm.com>
To: kvm-ppc-devel@lists.sourceforge.net
Cc: kvm-devel@lists.sourceforge.net, Jerone Young <jyoung5@us.ibm.com>
Subject: Re: [kvm-ppc-devel]
Date: Tue, 15 Apr 2008 19:58:07 +0000	[thread overview]
Message-ID: <200804151458.07698.hollisb@us.ibm.com> (raw)
In-Reply-To: <534114b4b788806bd457.1208288592@thinkpadL>

On Tuesday 15 April 2008 14:43:12 Jerone Young wrote:
> 1 file changed, 31 insertions(+), 17 deletions(-)
> kernel/Makefile |   48 +++++++++++++++++++++++++++++++-----------------
>
>
> This patch add the ability for make sync in the kernel directory to work
> for mulitiple architectures and not just x86.
>
> Signed-off-by: Jerone Young <jyoung5@us.ibm.com>
>
> diff --git a/kernel/Makefile b/kernel/Makefile
> --- a/kernel/Makefile
> +++ b/kernel/Makefile
> @@ -1,5 +1,10 @@ include ../config.mak
>  include ../config.mak
>
> +ARCH_DIR=$(ARCH)
> +ifneq '$(filter $(ARCH_DIR), x86_64 i386)' ''
> +	ARCH_DIR=x86
> +endif
> +
>  KVERREL = $(patsubst /lib/modules/%/build,%,$(KERNELDIR))
>
>  DESTDIR> @@ -18,11 +23,25 @@ _hack = mv $1 $1.orig && \
>
>  	    | sed '/\#include/! s/\blapic\b/l_apic/g' > $1 && rm $1.orig
>
>  _unifdef = mv $1 $1.orig && \
> -	  unifdef -DCONFIG_X86 $1.orig > $1; \
> +	  unifdef -DCONFIG_$(ARCH_DIR) $1.orig > $1; \
>            [ $$? -le 1 ] && rm $1.orig

This isn't going to work because you've changed -DCONFIG_X86 to -DCONFIG_x86 .

-- 
Hollis Blanchard
IBM Linux Technology Center

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
kvm-ppc-devel mailing list
kvm-ppc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-ppc-devel

WARNING: multiple messages have this Message-ID (diff)
From: Hollis Blanchard <hollisb@us.ibm.com>
To: kvm-ppc-devel@lists.sourceforge.net
Cc: kvm-devel@lists.sourceforge.net, Jerone Young <jyoung5@us.ibm.com>
Subject: Re: [kvm-ppc-devel] [PATCH] [v2][kvm-userspace] Make "make sync" in kernel dir work for	multiple archs
Date: Tue, 15 Apr 2008 14:58:07 -0500	[thread overview]
Message-ID: <200804151458.07698.hollisb@us.ibm.com> (raw)
In-Reply-To: <534114b4b788806bd457.1208288592@thinkpadL>

On Tuesday 15 April 2008 14:43:12 Jerone Young wrote:
> 1 file changed, 31 insertions(+), 17 deletions(-)
> kernel/Makefile |   48 +++++++++++++++++++++++++++++++-----------------
>
>
> This patch add the ability for make sync in the kernel directory to work
> for mulitiple architectures and not just x86.
>
> Signed-off-by: Jerone Young <jyoung5@us.ibm.com>
>
> diff --git a/kernel/Makefile b/kernel/Makefile
> --- a/kernel/Makefile
> +++ b/kernel/Makefile
> @@ -1,5 +1,10 @@ include ../config.mak
>  include ../config.mak
>
> +ARCH_DIR=$(ARCH)
> +ifneq '$(filter $(ARCH_DIR), x86_64 i386)' ''
> +	ARCH_DIR=x86
> +endif
> +
>  KVERREL = $(patsubst /lib/modules/%/build,%,$(KERNELDIR))
>
>  DESTDIR=
> @@ -18,11 +23,25 @@ _hack = mv $1 $1.orig && \
>
>  	    | sed '/\#include/! s/\blapic\b/l_apic/g' > $1 && rm $1.orig
>
>  _unifdef = mv $1 $1.orig && \
> -	  unifdef -DCONFIG_X86 $1.orig > $1; \
> +	  unifdef -DCONFIG_$(ARCH_DIR) $1.orig > $1; \
>            [ $$? -le 1 ] && rm $1.orig

This isn't going to work because you've changed -DCONFIG_X86 to -DCONFIG_x86 .

-- 
Hollis Blanchard
IBM Linux Technology Center

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone

  reply	other threads:[~2008-04-15 19:58 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-15 19:43 [kvm-ppc-devel] [PATCH] [v2][kvm-userspace] Make "make sync" in Jerone Young
2008-04-15 19:43 ` [PATCH] [v2][kvm-userspace] Make "make sync" in kernel dir work for multiple archs Jerone Young
2008-04-15 19:58 ` Hollis Blanchard [this message]
2008-04-15 19:58   ` [kvm-ppc-devel] " Hollis Blanchard
  -- strict thread matches above, loose matches on Subject: below --
2008-05-05 16:04 [kvm-ppc-devel] [PATCH 0 of 2] [RESEND] [PowerPC] Fix setting Jerone Young
2008-05-05 18:00 ` [kvm-ppc-devel] Hollis Blanchard
2008-04-04  7:06 [kvm-ppc-devel] [PATCH] [v2] Add idle wait support for 44x platforms Jerone Young
2008-04-04 12:36 ` [kvm-ppc-devel] [PATCH] [v2] Add idle wait support for 44x Jimi Xenidis
2008-04-04 15:42   ` [kvm-ppc-devel] [PATCH] [v2] Add idle wait support for Jerone Young
2008-04-04 15:56     ` [kvm-ppc-devel] Hollis Blanchard
2008-04-02 18:32 [kvm-ppc-devel] Hollis Blanchard

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=200804151458.07698.hollisb@us.ibm.com \
    --to=hollisb@us.ibm.com \
    --cc=jyoung5@us.ibm.com \
    --cc=kvm-devel@lists.sourceforge.net \
    --cc=kvm-ppc-devel@lists.sourceforge.net \
    /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.