All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] kbuild: Remove stale asm-generic wrappers
@ 2016-01-19 13:37 ` James Hogan
  0 siblings, 0 replies; 22+ messages in thread
From: James Hogan @ 2016-01-19 13:37 UTC (permalink / raw)
  To: Michal Marek
  Cc: linux-kernel, Heinrich Schuchardt, James Hogan, Thomas Gleixner,
	Ingo Molnar, H. Peter Anvin, Jonathan Corbet, Arnd Bergmann,
	Ralf Baechle, Paul Burton, Florian Fainelli, linux-kbuild, x86,
	linux-doc, linux-arch, linux-mips

This patchset attempts to fix kbuild to automatically remove stale
asm-generic wrappers, i.e. when files are removed from generic-y and
added directly into arch/*/include/uapi/asm/, but where the existing
wrapper in arch/*/include/generated/asm/ continues to be used.

MIPS was recently burned by this in v4.3 (see patch 2), with continuing
reports of build failures when people upgrade their trees, which go away
after arch/mips/include/generated is removed (or reportedly make
mrproper/distclean). It is particularly irritating during bisection.

Changes in v2:
- New patch 1 to add tracking of generated headers that aren't generic-y
  wrappers, via generated-y, particularly for x86 (thanks to kbuild test
  robot).
- Rewrite a bit, drawing inspiration from Makefile.headersinst.
- Exclude genhdr-y and generated-y (thanks to kbuild test robot).

James Hogan (2):
  kbuild, x86: Track generated headers with generated-y
  kbuild: Remove stale asm-generic wrappers

 Documentation/kbuild/makefiles.txt | 14 ++++++++++++++
 arch/x86/include/asm/Kbuild        |  6 ++++++
 scripts/Makefile.asm-generic       | 17 ++++++++++++++++-
 3 files changed, 36 insertions(+), 1 deletion(-)

Cc: Michal Marek <mmarek@suse.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Paul Burton <paul.burton@imgtec.com>
Cc: Florian Fainelli <f.fainelli@gmail.com>
Cc: Heinrich Schuchardt <xypron.glpk@gmx.de>
Cc: linux-kbuild@vger.kernel.org
Cc: x86@kernel.org
Cc: linux-doc@vger.kernel.org
Cc: linux-arch@vger.kernel.org
Cc: linux-mips@linux-mips.org
-- 
2.4.10

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2016-04-21 18:44 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-19 13:37 [PATCH v2 0/2] kbuild: Remove stale asm-generic wrappers James Hogan
2016-01-19 13:37 ` James Hogan
2016-01-19 13:37 ` [PATCH v2 1/2] kbuild, x86: Track generated headers with generated-y James Hogan
2016-01-19 13:37   ` James Hogan
2016-01-19 13:37 ` [PATCH v2 2/2] kbuild: Remove stale asm-generic wrappers James Hogan
2016-01-19 13:37   ` James Hogan
2016-01-19 13:37   ` James Hogan
2016-01-19 14:09   ` Arnd Bergmann
2016-01-19 14:09     ` Arnd Bergmann
2016-01-19 14:22     ` James Hogan
2016-01-19 14:22       ` James Hogan
2016-01-19 14:27       ` Arnd Bergmann
2016-02-23  9:51         ` James Hogan
2016-02-23  9:51           ` James Hogan
2016-04-21 18:44           ` James Hogan
2016-04-21 18:44             ` James Hogan
2016-01-20 18:55   ` Florian Fainelli
2016-01-21  0:03   ` Paul Burton
2016-01-21  0:03     ` Paul Burton
2016-01-21  0:03     ` Paul Burton
2016-01-21 10:19     ` James Hogan
2016-01-21 10:19       ` James Hogan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.