kbuild: Add support for installing generated asm headers
authorH. Peter Anvin <hpa@linux.intel.com>
Fri, 11 Nov 2011 23:20:34 +0000 (15:20 -0800)
committerH. Peter Anvin <hpa@linux.intel.com>
Thu, 17 Nov 2011 21:14:36 +0000 (13:14 -0800)
commitcb97914b04e7b587cf555ec5b1c69d61014f3378
treea91957b74fcc9d1305fa9a6ec086e53a893ff9fd
parentcfcfc9eca2bcbd26a8e206baeb005b055dbf8e37
kbuild: Add support for installing generated asm headers

Generated asm headers are supposed to live in
arch/*/include/generated/asm, but objhdr-y expect them to live in the
same directory they are generated in.  Instead of trying to cut that
particular Gordian knot, introduce genhdr-y that takes this into
account; the sole user of objhdr-y, linux/version.h, should be
migrated over at some later date.

Suggested-by: David Woodhouse <dwmw2@infradead.org>
Acked-by: David Woodhouse <dwmw2@infradead.org>
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: Michal Marek <mmarek@suse.cz>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
scripts/Makefile.headersinst