diff options
author | mjw@wray-m-3.hpl.hp.com <mjw@wray-m-3.hpl.hp.com> | 2005-04-28 12:27:47 +0000 |
---|---|---|
committer | mjw@wray-m-3.hpl.hp.com <mjw@wray-m-3.hpl.hp.com> | 2005-04-28 12:27:47 +0000 |
commit | 51a9f171a5de469910dcf8a4fc1f34e042e17fac (patch) | |
tree | 6f4594dc095baf69fef1a058aa669acd2bd28c2d /tools/pygrub/Makefile | |
parent | b4ac7763beeabbc040395b860560d92014ce5005 (diff) | |
download | xen-51a9f171a5de469910dcf8a4fc1f34e042e17fac.tar.gz xen-51a9f171a5de469910dcf8a4fc1f34e042e17fac.tar.bz2 xen-51a9f171a5de469910dcf8a4fc1f34e042e17fac.zip |
bitkeeper revision 1.1327.2.13 (4270d6c35WpxFmhdkREjmSvk82s-Bg)
Merge Jeremy's pygrub bootloader patch.
Signed-off-by: Jeremy Katz <katzj@redhat.com>
Signed-off-by: Mike Wray <mike.wray@hp.com>
Diffstat (limited to 'tools/pygrub/Makefile')
-rw-r--r-- | tools/pygrub/Makefile | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tools/pygrub/Makefile b/tools/pygrub/Makefile new file mode 100644 index 0000000000..a676cdf0e9 --- /dev/null +++ b/tools/pygrub/Makefile @@ -0,0 +1,18 @@ + +XEN_ROOT = ../.. +include $(XEN_ROOT)/tools/Rules.mk + +all: build +build: + CFLAGS="$(CFLAGS)" python setup.py build + +ifndef XEN_PYTHON_NATIVE_INSTALL +install: all + CFLAGS="$(CFLAGS)" python setup.py install --home="$(DESTDIR)/usr" +else +install: all + CFLAGS="$(CFLAGS)" python setup.py install --root="$(DESTDIR)" +endif + +clean: + rm -rf build *.pyc *.pyo *.o *.a *~ |