aboutsummaryrefslogtreecommitdiffstats
path: root/tools/python/Makefile
diff options
context:
space:
mode:
authorkaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk>2005-01-27 10:53:38 +0000
committerkaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk>2005-01-27 10:53:38 +0000
commit2f34aafbb609ff31be3fd880538c65ee78e379f0 (patch)
tree50d69d29a98ba0217bb7c698ef0f9cb862b7199e /tools/python/Makefile
parent35fcf160380833d4d3bc858bfda75cc8f0dbae7b (diff)
downloadxen-2f34aafbb609ff31be3fd880538c65ee78e379f0.tar.gz
xen-2f34aafbb609ff31be3fd880538c65ee78e379f0.tar.bz2
xen-2f34aafbb609ff31be3fd880538c65ee78e379f0.zip
bitkeeper revision 1.1159.223.44 (41f8c832pMZZ7WmykH_gAUBQHtPF1A)
Allow target architecture to be specified by specifying ARCH variable to root Makefile (e.g, make ARCH=x86_32).
Diffstat (limited to 'tools/python/Makefile')
-rw-r--r--tools/python/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/python/Makefile b/tools/python/Makefile
index 18bfeb1f7d..7d152e12ae 100644
--- a/tools/python/Makefile
+++ b/tools/python/Makefile
@@ -1,9 +1,12 @@
+XEN_ROOT = ../..
+include $(XEN_ROOT)/tools/Rules.mk
+
all:
- python setup.py build
+ CFLAGS="$(CFLAGS)" python setup.py build
install: all
- python setup.py install --home="$(DESTDIR)/usr"
+ CFLAGS="$(CFLAGS)" python setup.py install --home="$(DESTDIR)/usr"
clean:
rm -rf build *.pyc *.pyo *.o *.a *~