direct-io.hg
changeset 9599:baa1742637b7
build: Make sure that DESTDIR is set
In the case where XEN_PYTHON_NATIVE_INSTALL is in effect,
if DESTDIR is not set then the install will go into a relative
directory rather than under the default prefix (usually /usr).
An alternate solution would be to update the fragments
that do the python install to use $(DESTDIR)/ instead of
$(DESTDIR). This is not an incredible burden as there
are only two such fragments in the tree. However, it
seems prone to error as new makefiles are created
in the future.
Signed-Off-By: Horms <horms@verge.net.au>
In the case where XEN_PYTHON_NATIVE_INSTALL is in effect,
if DESTDIR is not set then the install will go into a relative
directory rather than under the default prefix (usually /usr).
An alternate solution would be to update the fragments
that do the python install to use $(DESTDIR)/ instead of
$(DESTDIR). This is not an incredible burden as there
are only two such fragments in the tree. However, it
seems prone to error as new makefiles are created
in the future.
Signed-Off-By: Horms <horms@verge.net.au>
author | kaf24@firebug.cl.cam.ac.uk |
---|---|
date | Mon Apr 10 16:31:53 2006 +0100 (2006-04-10) |
parents | 095519654079 |
children | 82dfb97fe5ea |
files | Config.mk |
line diff
1.1 --- a/Config.mk Mon Apr 10 16:27:46 2006 +0100 1.2 +++ b/Config.mk Mon Apr 10 16:31:53 2006 +0100 1.3 @@ -24,6 +24,7 @@ OBJCOPY = $(CROSS_COMPILE)objcopy 1.4 OBJDUMP = $(CROSS_COMPILE)objdump 1.5 1.6 DISTDIR ?= $(XEN_ROOT)/dist 1.7 +DESTDIR ?= / 1.8 1.9 INSTALL = install 1.10 INSTALL_DIR = $(INSTALL) -d -m0755