Received: from list by lists.gnu.org with archive (Exim 4.71) id 1YsYiO-0001Fr-Lw for mharc-grub-devel@gnu.org; Wed, 13 May 2015 11:36:56 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42034) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YsYiG-000170-Bh for grub-devel@gnu.org; Wed, 13 May 2015 11:36:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YsYiF-0001wb-7E for grub-devel@gnu.org; Wed, 13 May 2015 11:36:48 -0400 Received: from mo6-p00-ob.smtp.rzone.de ([2a01:238:20a:202:5300::5]:59581) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YsYiE-0001w3-TE for grub-devel@gnu.org; Wed, 13 May 2015 11:36:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1431531405; l=949; s=domk; d=aepfle.de; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Subject:To:From:Date; bh=CTU+NBA/ysYw09G+jBiDjHRzdyOS4VuR7cdcxAEt/DQ=; b=CladiQ60l1DmUjlDTfjzsqZ05Mr0Vy8d3+fUYcWmiytmar893f0swDhKiFCrWWud9SH wsVI46lh+RHiUo0pR14/tN7iLXkaUNMT7negXCWpeZeWrALm1ftzOZmopb8hN5fyrZfli 7T4pdyE/QA5P3cWJbd5dWD2y0npg+j6rOEg= X-RZG-AUTH: :P2EQZWCpfu+qG7CngxMFH1J+yackYocTD1iAi8x+OWi/zfN1cLnBYfssVY1SE5ClEYfb5sQvxDNUdfk3GFAM3xrxaZN0YQ== X-RZG-CLASS-ID: mo00 Received: from probook.fritz.box ([2001:a60:10a3:eb01:1ec1:deff:feb9:bb48]) by smtp.strato.de (RZmta 37.5 AUTH) with ESMTPSA id e06034r4DFUfpz4 (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (curve sect571r1 with 571 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate) for ; Wed, 13 May 2015 17:30:41 +0200 (CEST) Received: by probook.fritz.box (Postfix, from userid 1000) id 1CC55502B0; Wed, 13 May 2015 17:30:41 +0200 (CEST) Date: Wed, 13 May 2015 17:30:41 +0200 From: Olaf Hering To: The development of GNU GRUB Subject: Re: [PATCH] Remove CPPFLAGS_XEN Message-ID: <20150513153040.GB23848@aepfle.de> References: <1431342798-12811-1-git-send-email-olaf@aepfle.de> <20150511113013.GA19976@aepfle.de> <20150511113654.GA21655@aepfle.de> <20150513103148.GA11589@aepfle.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20150513103148.GA11589@aepfle.de> User-Agent: Mutt/1.5.22.rev6346 (2013-10-29) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a01:238:20a:202:5300::5 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 May 2015 15:36:54 -0000 On Wed, May 13, Olaf Hering wrote: > On Mon, May 11, Olaf Hering wrote: > > Looking at configure I see also TARGET_CPPFLAGS and HOST_CPPFLAGS. > > Perhaps the former should be used for grub, I will try that. > Setting TARGET_CPPFLAGS works. And after poking further at this, should there be a configure option with sets the path to the xen headers? I see configure looks for zfs and lzma. But the libs and headers are appearently used just for host tools. In case of xen/xen.h they are used only for the target (if that is the right term). It looks like stdint.h should come from the internal posix_wrap, and xen/xen.h should come from whatever location is specified. Another option would be to include the few required xen things into grub itself. After all thats what the Linux kernel does, the API is not supposed to change AFAIK. This would remove the need for a configure knob or an odd private Makefile variable. Olaf