[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20120619190008.GA11092@merkur.ravnborg.org>
Date: Tue, 19 Jun 2012 21:00:08 +0200
From: Sam Ravnborg <sam@...nborg.org>
To: Geert Uytterhoeven <geert@...ux-m68k.org>
Cc: linux-kbuild <linux-kbuild@...r.kernel.org>,
Avi Kivity <avi@...hat.com>,
Paul Gortmaker <paul.gortmaker@...driver.com>,
linux-next@...r.kernel.org, linux-kernel@...r.kernel.org,
Linux/m68k <linux-m68k@...r.kernel.org>, kvm@...r.kernel.org,
Paul Mundt <lethal@...ux-sh.org>
Subject: Re: asm/kvm_para.h from asm-generic (was: Re: linux-next: triage
for April 19, 2012)
On Tue, Jun 19, 2012 at 08:48:03PM +0200, Sam Ravnborg wrote:
> > >>
> > >> I just noticed include/asm-generic/Kbuild.asm already had
> > >>
> > >> ifneq ($(wildcard $(srctree)/arch/$(SRCARCH)/include/asm/kvm_para.h \
> > >> $(srctree)/include/asm-$(SRCARCH)/kvm_para.h),)
> > >> header-y += kvm_para.h
> > >> endif
> > >>
> > >> but this doesn't seem to work.
> > >>
> > >> Kbuild people: which one is correct?
>
> Any use of wildcards in include/asm-generic/Kbuild.asm is bogus.
> We should:
> 1) add explicit header-y for kvm.h + a.out.h to the relevant architectures.
> 2) add explicit header-y for kvm_para.h for the archictectures that needs this file
> 3) and drop header-y / dummy file fro the others.
>
> Anything else is just papering over the initial wrong doings.
>
> I actually coded up "header-n" support to explicitly say:
> do not include this file for this arch - but looking at the
> actual problem being solved this is just bogus so I killed
> it off again.
Just to be clear - I know this will break headers_check_all.
I will try to take a look soon for a better generic solution.
Sam
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists