Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 22 Feb 2001 17:41:36 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 22 Feb 2001 17:41:20 -0500 Received: from [199.239.160.155] ([199.239.160.155]:1037 "EHLO tenchi.datarithm.net") by vger.kernel.org with ESMTP id ; Thu, 22 Feb 2001 17:41:10 -0500 Date: Thu, 22 Feb 2001 14:40:55 -0800 From: Robert Read To: Alan Cox Cc: torvalds@transmeta.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH] use correct include dir for build tools Message-ID: <20010222144055.B20752@tenchi.datarithm.net> Mail-Followup-To: Alan Cox , torvalds@transmeta.com, linux-kernel@vger.kernel.org In-Reply-To: <20010222123940.A20319@tenchi.datarithm.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from alan@lxorguk.ukuu.org.uk on Thu, Feb 22, 2001 at 10:28:58PM +0000 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Ok, my bad, I forgot about cross-compiles. The problem was scripts/split-include.c includes errno.h, which requires linux/errno.h to exist, and I thought it would be better to use the current kernel's version, rather than the system version. I guess not. robert On Thu, Feb 22, 2001 at 10:28:58PM +0000, Alan Cox wrote: > > FINDHPATH = $(HPATH)/asm $(HPATH)/linux $(HPATH)/scsi $(HPATH)/net > > > > HOSTCC = gcc > > -HOSTCFLAGS = -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer > > +HOSTCFLAGS = -I$(HPATH) -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer > > That seems odd. Which build tools need to find kernel includes for this kernel > not the standard C includes > - > 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/ - 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/