Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756985AbXJJUkX (ORCPT ); Wed, 10 Oct 2007 16:40:23 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755992AbXJJUkK (ORCPT ); Wed, 10 Oct 2007 16:40:10 -0400 Received: from pasmtpb.tele.dk ([80.160.77.98]:59569 "EHLO pasmtpB.tele.dk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755891AbXJJUkI (ORCPT ); Wed, 10 Oct 2007 16:40:08 -0400 Date: Wed, 10 Oct 2007 22:41:39 +0200 From: Sam Ravnborg To: Matthew Wilcox Cc: "Robert P. J. Day" , parisc-linux-request@lists.parisc-linux.org, Randy Dunlap , Linux Kernel Mailing List , Grant Grundler , Kyle McMartin Subject: Re: parisc arch makefile clean-up needed [Was: cleaning up "make headers_install" for various architectures] Message-ID: <20071010204139.GA3255@uranus.ravnborg.org> References: <20071010095954.79c39a73.randy.dunlap@oracle.com> <20071010183858.GA2270@uranus.ravnborg.org> <20071010202128.GG2730@parisc-linux.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071010202128.GG2730@parisc-linux.org> User-Agent: Mutt/1.4.2.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 926 Lines: 27 > > Now, compiler.h has some checks like: > > #elif __GNUC__ == 3 && __GNUC_MINOR__ >= 2 > # include > #else > # error Sorry, your compiler is too old/not recognized. > #endif > > But it doesn't permit us to rule out gcc 3.3 unless we patch compiler.h. > There's no asm/compiler.h, for example. Obviously, we could put some > tests for compiler version in arch/parisc somewhere. Where's the right > place these days? Good question... I prefer the solution used by powerpc. See the checkbin dependency of archprepare: archprepare: is only triggered when we actually try to build a kernel, and will not trigger for the said headers_install thing. Sam - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/