[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHp75VfV3dhQnqGoQNrgQJEZYdtUPB+AVv_1i+xjvQSrYPhZEA@mail.gmail.com>
Date: Wed, 31 May 2017 17:51:05 +0300
From: Andy Shevchenko <andy.shevchenko@...il.com>
To: Vitaly Kuznetsov <vkuznets@...hat.com>
Cc: "x86@...nel.org" <x86@...nel.org>, devel@...uxdriverproject.org,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"K. Y. Srinivasan" <kys@...rosoft.com>,
Haiyang Zhang <haiyangz@...rosoft.com>,
Stephen Hemminger <sthemmin@...rosoft.com>,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>,
"H. Peter Anvin" <hpa@...or.com>,
Steven Rostedt <rostedt@...dmis.org>,
Jork Loeser <Jork.Loeser@...rosoft.com>,
Simon Xiao <sixiao@...rosoft.com>,
Andy Lutomirski <luto@...nel.org>
Subject: Re: [PATCH v5 01/10] x86/hyper-v: include hyperv/ only when
CONFIG_HYPERV is set
On Wed, May 31, 2017 at 5:37 PM, Vitaly Kuznetsov <vkuznets@...hat.com> wrote:
>>> # Hyper-V paravirtualization support
>>> -obj-$(CONFIG_HYPERVISOR_GUEST) += hyperv/
>>> +ifdef CONFIG_HYPERV
>>> +obj-y += hyperv/
>>> +endif
>>
>> Can
>> obj-$(CONFIG_HYPERV) += hyperv/
>> work for you instead?
>>
>
> CONFIG_HYPERV can be set to "m" but we want to include the contents of
> hyperv/ in vmlinux, not in vmbus module.
obj-$(subst m,y,$(CONFIG_HYPERV)) += hyperv/
should do the trick.
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists