From: Anthony Liguori <anthony@codemonkey.ws>
To: Jerone Young <jyoung5@us.ibm.com>
Cc: kvm-devel@lists.sourceforge.net,
kvm-ppc-devel@lists.sourceforge.net, hollisb@us.ibm.com
Subject: Re: [kvm-ppc-devel] [kvm-devel] [PATCH] [kvm-userspace] Make "make
Date: Tue, 15 Apr 2008 03:36:38 +0000 [thread overview]
Message-ID: <480422C6.4000508@codemonkey.ws> (raw)
In-Reply-To: <7ec2bd6b8864f1f16f85.1208227603@thinkpadL>
Jerone Young wrote:
> 1 file changed, 13 insertions(+), 5 deletions(-)
> kernel/Makefile | 18 +++++++++++++-----
>
>
> 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
>
> +ASM_DIR=$(ARCH)
> +ifneq '$(filter $(ASM_DIR), x86_64 i386 ia64)' ''
> + ASM_DIR=x86
> +endif
>
That doesn't look correct for ia64...
Regards,
Anthony Liguori
> KVERREL = $(patsubst /lib/modules/%/build,%,$(KERNELDIR))
>
> DESTDIR> @@ -34,15 +39,16 @@ sync:
> sync:
> rm -rf tmp include
> rsync --exclude='*.mod.c' -R \
> - "$(LINUX)"/arch/x86/kvm/./*.[ch] \
> + "$(LINUX)"/arch/$(ASM_DIR)/kvm/./*.[ch] \
> "$(LINUX)"/virt/kvm/./*.[ch] \
> "$(LINUX)"/./include/linux/kvm*.h \
> - "$(LINUX)"/./include/asm-x86/kvm*.h \
> + "$(LINUX)"/./include/asm-$(ASM_DIR)/kvm*.h \
> tmp/
> - mkdir -p include/linux include/asm-x86
> - ln -s asm-x86 include/asm
> - ln -sf asm-x86 include-compat/asm
> + mkdir -p include/linux include/asm-$(ASM_DIR)
> + ln -s asm-$(ASM_DIR) include/asm
> + ln -sf asm-$(ASM_DIR) include-compat/asm
>
> +ifneq '$(filter $(ASM_DIR), x86_64 i386 ia64)' ''
> $(call unifdef, include/linux/kvm.h)
> $(call unifdef, include/linux/kvm_para.h)
> $(call unifdef, include/asm-x86/kvm.h)
> @@ -54,6 +60,8 @@ sync:
> $(call hack, svm.c)
> $(call hack, x86.c)
> $(call hack, irq.h)
> +endif
> +
> for i in $$(find tmp -type f -printf '%P '); \
> do cmp -s $$i tmp/$$i || cp tmp/$$i $$i; done
> rm -rf tmp
>
> -------------------------------------------------------------------------
> 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-devel mailing list
> kvm-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/kvm-devel
>
-------------------------------------------------------------------------
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: Anthony Liguori <anthony@codemonkey.ws>
To: Jerone Young <jyoung5@us.ibm.com>
Cc: kvm-devel@lists.sourceforge.net,
kvm-ppc-devel@lists.sourceforge.net, hollisb@us.ibm.com
Subject: Re: [PATCH] [kvm-userspace] Make "make sync" in kernel dir work for multiple archs
Date: Mon, 14 Apr 2008 22:36:38 -0500 [thread overview]
Message-ID: <480422C6.4000508@codemonkey.ws> (raw)
In-Reply-To: <7ec2bd6b8864f1f16f85.1208227603@thinkpadL>
Jerone Young wrote:
> 1 file changed, 13 insertions(+), 5 deletions(-)
> kernel/Makefile | 18 +++++++++++++-----
>
>
> 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
>
> +ASM_DIR=$(ARCH)
> +ifneq '$(filter $(ASM_DIR), x86_64 i386 ia64)' ''
> + ASM_DIR=x86
> +endif
>
That doesn't look correct for ia64...
Regards,
Anthony Liguori
> KVERREL = $(patsubst /lib/modules/%/build,%,$(KERNELDIR))
>
> DESTDIR=
> @@ -34,15 +39,16 @@ sync:
> sync:
> rm -rf tmp include
> rsync --exclude='*.mod.c' -R \
> - "$(LINUX)"/arch/x86/kvm/./*.[ch] \
> + "$(LINUX)"/arch/$(ASM_DIR)/kvm/./*.[ch] \
> "$(LINUX)"/virt/kvm/./*.[ch] \
> "$(LINUX)"/./include/linux/kvm*.h \
> - "$(LINUX)"/./include/asm-x86/kvm*.h \
> + "$(LINUX)"/./include/asm-$(ASM_DIR)/kvm*.h \
> tmp/
> - mkdir -p include/linux include/asm-x86
> - ln -s asm-x86 include/asm
> - ln -sf asm-x86 include-compat/asm
> + mkdir -p include/linux include/asm-$(ASM_DIR)
> + ln -s asm-$(ASM_DIR) include/asm
> + ln -sf asm-$(ASM_DIR) include-compat/asm
>
> +ifneq '$(filter $(ASM_DIR), x86_64 i386 ia64)' ''
> $(call unifdef, include/linux/kvm.h)
> $(call unifdef, include/linux/kvm_para.h)
> $(call unifdef, include/asm-x86/kvm.h)
> @@ -54,6 +60,8 @@ sync:
> $(call hack, svm.c)
> $(call hack, x86.c)
> $(call hack, irq.h)
> +endif
> +
> for i in $$(find tmp -type f -printf '%P '); \
> do cmp -s $$i tmp/$$i || cp tmp/$$i $$i; done
> rm -rf tmp
>
> -------------------------------------------------------------------------
> 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-devel mailing list
> kvm-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/kvm-devel
>
-------------------------------------------------------------------------
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
next prev parent reply other threads:[~2008-04-15 3:36 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-15 2:46 [PATCH] [kvm-userspace] Make "make sync" in kernel dir work for multiple archs Jerone Young
2008-04-15 3:36 ` Anthony Liguori [this message]
2008-04-15 3:36 ` Anthony Liguori
2008-04-15 14:08 ` [kvm-ppc-devel] [PATCH] [kvm-userspace] Make "make sync" in Hollis Blanchard
2008-04-15 14:08 ` [PATCH] [kvm-userspace] Make "make sync" in kernel dir work for multiple archs Hollis Blanchard
2008-04-15 16:20 ` [kvm-ppc-devel] [PATCH] [kvm-userspace] Make "make sync" in Jerone Young
2008-04-15 16:20 ` [PATCH] [kvm-userspace] Make "make sync" in kernel dir work for multiple archs Jerone Young
2008-04-15 18:21 ` [kvm-ppc-devel] [PATCH] [kvm-userspace] Make "make sync" in Hollis Blanchard
2008-04-15 18:21 ` [PATCH] [kvm-userspace] Make "make sync" in kernel dir work for multiple archs 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=480422C6.4000508@codemonkey.ws \
--to=anthony@codemonkey.ws \
--cc=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.