Messages in this thread | | | Subject | Re: [PATCH 08/29] Disintegrate asm/system.h for C6X | From | Mark Salter <> | Date | Wed, 07 Mar 2012 17:52:01 -0500 |
| |
On Wed, 2012-03-07 at 22:42 +0000, David Howells wrote: > Mark Salter <msalter@redhat.com> 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
| |