]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
kbuild, x86: Track generated headers with generated-y
authorJames Hogan <james.hogan@imgtec.com>
Fri, 24 Jun 2016 22:42:23 +0000 (23:42 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 7 Jul 2016 13:58:44 +0000 (15:58 +0200)
commit54b880caf15034644b564e378abf67b7f9eaf4dc
treedfef2534071d6afde8059f84fe228bc966ecc1e4
parenta99cde438de0c4c0cecc1d1af1a55a75b10bfdef
kbuild, x86: Track generated headers with generated-y

Track generated header files which aren't already in genhdr-y, alongside
generic-y wrappers in the */include/generated/[uapi/]asm/ directories.
Currently only x86 generates extra headers in these directories, for the
purposes of enumerating system calls for different ABIs, and xen
hypercalls.

This will allow the asm-generic wrapper handling code to remove stale
wrappers when files are removed from generic-y, without also removing
these headers which are generated separately.

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: James Hogan <james.hogan@imgtec.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: linux-kbuild@vger.kernel.org
Cc: linux-doc@vger.kernel.org
Cc: Michal Marek <mmarek@suse.com>
Link: http://lkml.kernel.org/r/1466808144-23209-2-git-send-email-james.hogan@imgtec.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Documentation/kbuild/makefiles.txt
arch/x86/include/asm/Kbuild