grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Remove CPPFLAGS_XEN


From: Olaf Hering
Subject: Re: [PATCH] Remove CPPFLAGS_XEN
Date: Wed, 13 May 2015 17:30:41 +0200
User-agent: Mutt/1.5.22.rev6346 (2013-10-29)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]