|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH 3/11] build: Make sure that DESTDIR is set
# HG changeset patch
# User Horms <horms@xxxxxxxxxxxx>
# Node ID a3a369798dbd866fcb4ec9026364e65a054c458a
# Parent 85038f661b0283fd5d8e152b234e130862932763
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@xxxxxxxxxxxx>
diff -r 85038f661b02 -r a3a369798dbd Config.mk
--- a/Config.mk Thu Mar 30 15:13:35 2006 +0900
+++ b/Config.mk Thu Mar 30 15:13:41 2006 +0900
@@ -24,6 +24,7 @@ OBJDUMP = $(CROSS_COMPILE)objdump
OBJDUMP = $(CROSS_COMPILE)objdump
DISTDIR ?= $(XEN_ROOT)/dist
+DESTDIR ?= /
INSTALL = install
INSTALL_DIR = $(INSTALL) -d -m0755
--
Horms
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [PATCH 0/11] libxc: various build cleanups, Horms
- [Xen-devel] [PATCH 1/11] build: Remove unused netbsd build fragments, Horms
- [Xen-devel] [PATCH 2/11] build: Remove iptables and python loging helper targets, Horms
- [Xen-devel] [PATCH 3/11] build: Make sure that DESTDIR is set,
Horms <=
- [Xen-devel] [PATCH 4/11] build: Clean up use of .PHONY, Horms
- [Xen-devel] [PATCH 5/11] build: clean up output of make help a little bit, Horms
- [Xen-devel] [PATCH 6/11] build: Document the use of XEN_PYTHON_NATIVE_INSTALL, Horms
- [Xen-devel] [PATCH 7/11] build: clean up kclean and distclean for kernel, Horms
- [Xen-devel] [PATCH 8/11] build: Clean pygrub's a.out, Horms
- [Xen-devel] [PATCH 9/11] build: Use --bzip2 with tar instead of -j, Horms
- [Xen-devel] [PATCH 10/11] build: make linux download more flexable, Horms
- [Xen-devel] [PATCH 11/11] build: Don't assume that mkbuildtree is executable, Horms
|
|
|
|
|