From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1YsaRj-00064i-M1 for mharc-grub-devel@gnu.org; Wed, 13 May 2015 13:27:51 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58495) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YsaRg-00064L-UG for grub-devel@gnu.org; Wed, 13 May 2015 13:27:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YsaRc-0005iF-M8 for grub-devel@gnu.org; Wed, 13 May 2015 13:27:48 -0400 Received: from mail-lb0-x230.google.com ([2a00:1450:4010:c04::230]:33915) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YsaRc-0005hw-Eq for grub-devel@gnu.org; Wed, 13 May 2015 13:27:44 -0400 Received: by lbcga7 with SMTP id ga7so34863550lbc.1 for ; Wed, 13 May 2015 10:27:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=2je+UyEQCiOK9XuuvhNLIEPKlm44sbufi/l6Iss5XEE=; b=TdU8LMHDsARViv8+tTCgG3CwUuLOoBoL1tDScjxHqtw9NbVZwDNJn2JEUQJkNtw/wl E+5PR82tLC+UB+iwKf/aJrNA3wHGDzA5cb59ocElVIh3h51STqk/VHnCbH4uUv/TEnLh ovztzyuL6nHpkS+hq5izRP+CZPPTkkzzVwbDZ1Q9rzy8DlkZ6MMyxgmCDVvN9k9eZEB2 eptZRP9YyjsHXEjcmS6bcFKYHTx0gW/wVPx5gYCUpmz8AnlIVfiwiueJSkiSY3UP/rPP tvTl13IX5422rw2bDc6g2z2KKU5enLBLhBIqRE5pcC2146hoh3JOpwUhF8Thc+1MnHOG tA+Q== X-Received: by 10.112.210.2 with SMTP id mq2mr2158497lbc.17.1431538063547; Wed, 13 May 2015 10:27:43 -0700 (PDT) Received: from opensuse.site (ppp91-76-14-38.pppoe.mtu-net.ru. [91.76.14.38]) by mx.google.com with ESMTPSA id q1sm5214121laq.10.2015.05.13.10.27.41 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 13 May 2015 10:27:42 -0700 (PDT) Date: Wed, 13 May 2015 20:27:40 +0300 From: Andrei Borzenkov To: Olaf Hering Subject: Re: [PATCH] Remove CPPFLAGS_XEN Message-ID: <20150513202740.566d3097@opensuse.site> In-Reply-To: <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> <20150513153040.GB23848@aepfle.de> X-Mailer: Claws Mail 3.11.0 (GTK+ 2.24.27; x86_64-suse-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c04::230 Cc: The development of GNU GRUB 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 17:27:50 -0000 =D0=92 Wed, 13 May 2015 17:30:41 +0200 Olaf Hering =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > On Wed, May 13, Olaf Hering wrote: >=20 > > 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. >=20 > 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. >=20 > Another option would be to include the few required xen things into grub > itself. That sounds like the best approach. We really try to have self contained environment to build target. > 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. >=20 > Olaf >=20 > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel