From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from cantor2.suse.de ([195.135.220.15]:54340 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753046Ab1HJJwf (ORCPT ); Wed, 10 Aug 2011 05:52:35 -0400 Message-ID: <4E4254E1.5070909@suse.cz> Date: Wed, 10 Aug 2011 11:52:33 +0200 From: Michal Marek MIME-Version: 1.0 Subject: Re: [RFC] possible killing of boilerplate headers by asm-generic reorg References: <20110807204118.GA2203@ZenIV.linux.org.uk> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kbuild-owner@vger.kernel.org List-ID: To: Linus Torvalds Cc: Al Viro , linux-kbuild@vger.kernel.org, Arnd Bergmann , Sam Ravnborg On 7.8.2011 23:00, Linus Torvalds wrote: > However, having it for the default case for those full header files is > just annoying - as you say, those idiotic one-liner files > that just include the asm-generic one are annoying, and quite frankly, > the current work-around for them (that "generic-y" thing) is not > really any better. It's just another way to do the same broken thing. It replaces oneline files with a multiline list in a single file, so it makes no difference linewise, but at least one arch has it all in a single place. > So I would suggest we just start a new directory, something like > include/default, and add it as the last entry to the search path. Then > we start populating it with files, and start removing the > silly 'generic-y' workaround. Let's just use the search-path instead. But we would still have to generate the wrapper for userspace headers, we can't rely on any -I/usr/include/default in userspace. So Makefile.headersinst would still need some special handling for these headers. Michal