From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751201AbaIXE7e (ORCPT ); Wed, 24 Sep 2014 00:59:34 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:41147 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750744AbaIXE7d (ORCPT ); Wed, 24 Sep 2014 00:59:33 -0400 Date: Tue, 23 Sep 2014 21:59:32 -0700 From: Andrew Morton To: ashutosh dixit Cc: Peter Foley , Randy Dunlap , "linux-kernel\@vger.kernel.org" , "linux-doc\@vger.kernel.org" , "Dutt\, Sudeep" , "Rao\, Nikhil" , Greg Kroah-Hartman Subject: Re: [PATCH linux-next] Documentation: mic: mpssd: Disable mpssd builds for kernels < 3.13 Message-Id: <20140923215932.df693d76.akpm@linux-foundation.org> In-Reply-To: References: <5421EA22.6000206@infradead.org> <20140923163816.2f3cf938c7815424e55e444f@linux-foundation.org> <20140923175137.aa87c1ea.akpm@linux-foundation.org> X-Mailer: Sylpheed 2.7.1 (GTK+ 2.18.9; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 23 Sep 2014 21:51:09 -0700 ashutosh dixit wrote: > On Tue, Sep 23 2014 at 05:58:19 PM, Peter Foley wrote: > > On Tue, Sep 23, 2014 at 8:51 PM, Andrew Morton > > wrote: > >> Can't we just fix the Makefiles? Cook up a rule which makes > >> headers_install (if needed) before building Documentation/? > > > > Currently, the ordering is enforced by > > http://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/tree/Makefile#n946 > > I'll take a look at making Documentation/ depend on headers_install. > > > I would think it is preferable to keep the 'make headers_install' and > 'make Documentation/' steps separate, as they currently are, so that > only the people who need to upgrade system headers do that, rather than > forcing people to upgrade system headers each time something in > Documentation/ is recompiled and moreover doing that compile/install as > root. headers_install installs into ./usr/include and ./include. It's local to the kernel build tree.