[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1453210670-12596-1-git-send-email-james.hogan@imgtec.com>
Date: Tue, 19 Jan 2016 13:37:48 +0000
From: James Hogan <james.hogan@...tec.com>
To: Michal Marek <mmarek@...e.com>
CC: <linux-kernel@...r.kernel.org>,
Heinrich Schuchardt <xypron.glpk@....de>,
James Hogan <james.hogan@...tec.com>,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>,
"H. Peter Anvin" <hpa@...or.com>,
"Jonathan Corbet" <corbet@....net>, Arnd Bergmann <arnd@...db.de>,
Ralf Baechle <ralf@...ux-mips.org>,
Paul Burton <paul.burton@...tec.com>,
Florian Fainelli <f.fainelli@...il.com>,
<linux-kbuild@...r.kernel.org>, <x86@...nel.org>,
<linux-doc@...r.kernel.org>, <linux-arch@...r.kernel.org>,
<linux-mips@...ux-mips.org>
Subject: [PATCH v2 0/2] kbuild: Remove stale asm-generic wrappers
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@...e.com>
Cc: Thomas Gleixner <tglx@...utronix.de>
Cc: Ingo Molnar <mingo@...hat.com>
Cc: "H. Peter Anvin" <hpa@...or.com>
Cc: Jonathan Corbet <corbet@....net>
Cc: Arnd Bergmann <arnd@...db.de>
Cc: Ralf Baechle <ralf@...ux-mips.org>
Cc: Paul Burton <paul.burton@...tec.com>
Cc: Florian Fainelli <f.fainelli@...il.com>
Cc: Heinrich Schuchardt <xypron.glpk@....de>
Cc: linux-kbuild@...r.kernel.org
Cc: x86@...nel.org
Cc: linux-doc@...r.kernel.org
Cc: linux-arch@...r.kernel.org
Cc: linux-mips@...ux-mips.org
--
2.4.10
Powered by blists - more mailing lists