Re: [PATCH 08/29] Disintegrate asm/system.h for C6X

From: Mark Salter
Date: Wed Mar 07 2012 - 17:52:17 EST


On Wed, 2012-03-07 at 22:42 +0000, David Howells wrote:
> Mark Salter <msalter@xxxxxxxxxx> wrote:
>
> > Kbuild takes care of it. See arch/c6x/include/Kbuild for the generic
> > headers C6X uses as-is.
>
> I'm still not clear on how that actually works. Does it copy the headers to
> asm/ from asm-generic/?

It creates $(obj)/arch/$(arch)/include/generated/asm/foo.h which has:

#include <asm-generic/foo.h>

See scripts/Makefile.asm-generic

--Mark


--
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/