Files
xen/tools/pygrub
Elliott Mitchell 17d192e023 tools/python: Pass linker to Python build process
Unexpectedly the environment variable which needs to be passed is
$LDSHARED and not $LD.  Otherwise Python may find the build `ld` instead
of the host `ld`.

Replace $(LDFLAGS) with $(SHLIB_LDFLAGS) as Python needs shared objects
it can load at runtime, not executables.

This uses $(CC) instead of $(LD) since Python distutils appends $CFLAGS
to $LDFLAGS which breaks many linkers.

Signed-off-by: Elliott Mitchell <ehem+xen@m5p.com>
Acked-by: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
2020-10-16 13:25:35 +00:00
..
2006-07-14 11:49:26 +01:00

pygrub is a grub-like bootloader for xen. This tool is to use to boot domU images.

To compile pygrub, you will need the following packages installed:

1) Libraries of ext2fs, which is the following package (depend on your Linux distribution):
	- e2fslibs-dev on Debian based distributions (Debian, Ubuntu, Linspire, Libranet, Xandros, etc...)
	- e2fsprogs-devel on RedHat, Fedora Core
	- libext2fs2-devel on Mandriva/Mandrake
	- e2fsprogs on Gentoo

2) Libraries of reiserfs, which is the following package (depend on your Linux distribution):
	- libreiserfs-dev on Debian based distributions (Debian, Ubuntu, Xandros, Libranet, Xandros, etc...)
	- progsreiserfs-devel on RedHat
	- progsreiserfs on Gentoo