Re: [PATCH] Fix a.out.h export to userspace with O= build.

From: Sam Ravnborg
Date: Fri Jun 27 2008 - 16:56:52 EST


On Fri, Jun 27, 2008 at 02:39:42PM +0100, David Woodhouse wrote:
> On Fri, 2008-06-27 at 16:12 +0300, Adrian Bunk wrote:
> > On Fri, Jun 27, 2008 at 02:06:24PM +0100, David Woodhouse wrote:
> > > On Fri, 2008-06-27 at 16:02 +0300, Adrian Bunk wrote:
> > > > Commit e53d6a152793a38aa334d6f7a4850642ae45cedc
> > > > (Export <linux/a.out.h> to userspace again.)
> > > > does not work properly when using O= :
> > >
> > > Hm, I copied the logic from the existing condition in
> > > include/asm-generic/Kbuild.asm. Does that not work either?
> >
> > It doesn't work:
> >
> > linux-2.6.26-rc8$ make O=../out headers_install
> > ...
> > linux-2.6.26-rc8$ find ../out -name a.out.h
>
> You're right; it doesn't work with O=, and hasn't since David Howells
> first added that conditional export in commit 7fa30315. This fixes it:
>
> ---
> From: David Woodhouse <david.woodhouse@xxxxxxxxx>
> Subject: Fix a.out.h export to userspace with O= build.

Hi David.

Will you carry this patch in your tree or do you
want me to add it to kbuild-next.git?

Sam
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/