В Wed, 13 May 2015 17:30:41 +0200 Olaf Hering <o...@aepfle.de> пишет:
> 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. 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. > > Olaf > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel