[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200907221550.15280.arnd@arndb.de>
Date: Wed, 22 Jul 2009 15:50:15 +0200
From: Arnd Bergmann <arnd@...db.de>
To: Amerigo Wang <xiyou.wangcong@...il.com>
Cc: Sam Ravnborg <sam@...nborg.org>,
"linux-kbuild" <linux-kbuild@...r.kernel.org>,
lkml <linux-kernel@...r.kernel.org>,
linux arch <linux-arch@...r.kernel.org>,
Al Viro <viro@...iv.linux.org.uk>
Subject: Re: [PATCH/RFC] Move generated files to include/generated
On Wednesday 22 July 2009, Amerigo Wang wrote:
> On Tue, Jul 21, 2009 at 11:10:40PM +0200, Sam Ravnborg wrote:
> >In 2.6.30 we introduced support for adding generated
> >files to a dedicated directory named "include/generated".
>
> Personally, I don't like this, I hate to see
> #include <generated/foo.h>
I think that moving the generated files to a common location
makes a lot of sense, but it seems easier to move them
to include/generated/linux/ or even to (generated/linux/) and
then add -Iinclude/generated/ to the gcc command line so
you don't need to actually change all the users.
For the files in asm/, you could either add a generated/asm
directory or move them to generated/linux/ and change the
users.
Arnd <><
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists