Re: headers-y for machines

From: Sam Ravnborg
Date: Thu Nov 20 2008 - 14:09:12 EST


Hi Mikael.

On Thu, Nov 20, 2008 at 09:48:45AM +0100, Mikael Starvik wrote:
> Lets say you have arch/arm/mach-xx/include/mach/myfile.h and want to add myfile.h to header-y. How do you do that?
>
> I tried to add
>
> header-y += ../../maxh-xx/
>
> in arch/arm/include/asm/Kbuild
>
> and then
> header-y += myfile.h in arch/arm/mach-xx/include/mach/Kbuild

When we did the header file rearrange I had not foreseen that we would export header files
located anywhere else than include/* and arch/$ARCH/include so there is
no way to properly export files located in arch/$ARCH/mach-foo/...

Do we really want to export files form this location to userspace?

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/