2010-11-06 18:52:46

by Tracey Dent

[permalink] [raw]
Subject: [PATCH] KVM x86: Makefile clean up

Changed makefile to use the ccflags-y option instead of EXTRA_CFLAGS.

Signed-off-by: Tracey Dent <[email protected]>
---
arch/x86/kvm/Makefile | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/x86/kvm/Makefile b/arch/x86/kvm/Makefile
index 31a7035..a851df9 100644
--- a/arch/x86/kvm/Makefile
+++ b/arch/x86/kvm/Makefile
@@ -1,5 +1,5 @@

-EXTRA_CFLAGS += -Ivirt/kvm -Iarch/x86/kvm
+ccflags-y += -Ivirt/kvm -Iarch/x86/kvm

CFLAGS_x86.o := -I.
CFLAGS_svm.o := -I.
--
1.7.3.2.146.gca209


2010-11-09 14:31:31

by Avi Kivity

[permalink] [raw]
Subject: Re: [PATCH] KVM x86: Makefile clean up

On 11/06/2010 08:52 PM, Tracey Dent wrote:
> Changed makefile to use the ccflags-y option instead of EXTRA_CFLAGS.

Applied, thanks.

--
error compiling committee.c: too many arguments to function

2010-11-10 18:07:16

by Tracey Dent

[permalink] [raw]
Subject: Re: [PATCH] KVM x86: Makefile clean up

On 11/9/10, Avi Kivity <[email protected]> wrote:
> On 11/06/2010 08:52 PM, Tracey Dent wrote:
>> Changed makefile to use the ccflags-y option instead of EXTRA_CFLAGS.
>
> Applied, thanks.
>
> --
> error compiling committee.c: too many arguments to function
>
>

thanks