From: John Levon Subject: [PATCH] Make some code compile only on Linux Date: Wed, 11 Mar 2009 18:38:53 -0700 Message-ID: <29a74f8ff8aac63801d1.1236821933@girltalk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org # HG changeset patch # User John Levon # Date 1236821912 25200 # Node ID 29a74f8ff8aac63801d1cfd8adc91bc0dd9cad5e # Parent 818e5fb60ee1377f1215dd43d9890f97eef72ea4 Make some code compile only on Linux Signed-off-by: John Levon diff --git a/tools/Makefile b/tools/Makefile --- a/tools/Makefile +++ b/tools/Makefile @@ -19,11 +19,11 @@ SUBDIRS-$(VTPM_TOOLS) += vtpm_manager SUBDIRS-$(VTPM_TOOLS) += vtpm_manager SUBDIRS-$(VTPM_TOOLS) += vtpm SUBDIRS-y += xenstat -SUBDIRS-y += libaio -SUBDIRS-y += blktap +SUBDIRS-$(CONFIG_Linux) += libaio +SUBDIRS-$(CONFIG_Linux) += blktap SUBDIRS-y += libfsimage SUBDIRS-$(LIBXENAPI_BINDINGS) += libxen -SUBDIRS-y += fs-back +SUBDIRS-$(CONFIG_Linux) += fs-back SUBDIRS-$(CONFIG_IOEMU) += ioemu-dir SUBDIRS-y += xenpmd