WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] Make the xenfb tools an optional part of

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] Make the xenfb tools an optional part of the build, as they introduce new
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Sun, 03 Dec 2006 15:10:44 +0000
Delivery-date: Sun, 03 Dec 2006 07:13:06 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Ewan Mellor <ewan@xxxxxxxxxxxxx>
# Node ID af10df2fed356a2700f7ce34638d6e9811baab74
# Parent  1edaf60343a7409e24d50a4a908e13d223dca3d3
Make the xenfb tools an optional part of the build, as they introduce new
dependencies (libvncserver and libsdl devel packages).  Enable them with
XENFB_TOOLS=y.

Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>
---
 Config.mk                      |    2 +-
 tools/Makefile                 |    2 +-
 tools/check/Makefile           |    6 ++++--
 tools/check/check_libvncserver |    6 ++++++
 tools/check/check_sdl          |    6 ++++++
 5 files changed, 18 insertions(+), 4 deletions(-)

diff -r 1edaf60343a7 -r af10df2fed35 Config.mk
--- a/Config.mk Fri Dec 01 18:35:19 2006 +0000
+++ b/Config.mk Sat Dec 02 16:39:53 2006 +0000
@@ -69,8 +69,8 @@ ACM_DEFAULT_SECURITY_POLICY ?= ACM_NULL_
 
 # Optional components
 XENSTAT_XENTOP ?= y
-
 VTPM_TOOLS ?= n
 LIBXENAPI_BINDINGS ?= n
+XENFB_TOOLS ?= n
 
 -include $(XEN_ROOT)/.config
diff -r 1edaf60343a7 -r af10df2fed35 tools/Makefile
--- a/tools/Makefile    Fri Dec 01 18:35:19 2006 +0000
+++ b/tools/Makefile    Sat Dec 02 16:39:53 2006 +0000
@@ -19,7 +19,7 @@ SUBDIRS-y += libaio
 SUBDIRS-y += libaio
 SUBDIRS-y += blktap
 SUBDIRS-y += libfsimage
-SUBDIRS-y += xenfb
+SUBDIRS-$(XENFB_TOOLS) += xenfb
 SUBDIRS-$(LIBXENAPI_BINDINGS) += libxen
 
 # These don't cross-compile
diff -r 1edaf60343a7 -r af10df2fed35 tools/check/Makefile
--- a/tools/check/Makefile      Fri Dec 01 18:35:19 2006 +0000
+++ b/tools/check/Makefile      Sat Dec 02 16:39:53 2006 +0000
@@ -1,3 +1,5 @@
+XEN_ROOT = ../..
+include $(XEN_ROOT)/tools/Rules.mk
 
 .PHONY: all
 all: build
@@ -5,7 +7,7 @@ all: build
 # Check this machine is OK for building on.
 .PHONY: build
 build:
-       ./chk build
+       XENFB_TOOLS=$(XENFB_TOOLS) ./chk build
 
 # Check this machine is OK for installing on.
 # DO NOT use this check from 'make install' in the parent
@@ -13,7 +15,7 @@ build:
 # copy rather than actually installing.
 .PHONY: install
 install:
-       ./chk install
+       XENFB_TOOLS=$(XENFB_TOOLS) ./chk install
 
 .PHONY: clean
 clean:
diff -r 1edaf60343a7 -r af10df2fed35 tools/check/check_libvncserver
--- a/tools/check/check_libvncserver    Fri Dec 01 18:35:19 2006 +0000
+++ b/tools/check/check_libvncserver    Sat Dec 02 16:39:53 2006 +0000
@@ -1,5 +1,11 @@
 #!/bin/sh
 # CHECK-BUILD CHECK-INSTALL
+
+if [ ! "$XENFB_TOOLS" = "y" ]
+then
+    echo -n "unused, "
+    exit 0
+fi
 
 RC=0
 
diff -r 1edaf60343a7 -r af10df2fed35 tools/check/check_sdl
--- a/tools/check/check_sdl     Fri Dec 01 18:35:19 2006 +0000
+++ b/tools/check/check_sdl     Sat Dec 02 16:39:53 2006 +0000
@@ -1,5 +1,11 @@
 #!/bin/sh
 # CHECK-BUILD CHECK-INSTALL
+
+if [ ! "$XENFB_TOOLS" = "y" ]
+then
+    echo -n "unused, "
+    exit 0
+fi
 
 RC=0
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] Make the xenfb tools an optional part of the build, as they introduce new, Xen patchbot-unstable <=