Files
xen/tools/vnet/vnet-module/Makefile-2.6
T
iap10@freefall.cl.cam.ac.uk 8e5a6833ff bitkeeper revision 1.1159.223.85 (420a9b72OGag4m4sDtlxM-918tbudQ)
Subject: [Xen-devel] VNET - full update

Allows vnets to compile and run under 2.6.10/xen-testing.
PATCH: vnet-cleanup.patch
Signed off by: bgb@nt-nv.com
Signed-off-by: ian@xensource.com
2005-02-09 23:23:30 +00:00

52 lines
1.6 KiB
Makefile

# -*- mode: Makefile; -*-
#============================================================================
#
# Copyright (C) 2004 Mike Wray <mike.wray@hp.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by the
# Free Software Foundation; either version 2 of the License, or (at your
# option) any later version.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free software Foundation, Inc.,
# 59 Temple Place, suite 330, Boston, MA 02111-1307 USA
#============================================================================
#============================================================================
# Vnet module makefile for 2.6 series kernels.
LINUX_SERIES ?=2.6
include Makefile.ver
KERNEL_MODULE = vnet_module.ko
#----------------------------------------------------------------------------
#export KBUILD_VERBOSE=1
.PHONY: all
all: module
.PHONY: module
module modules:
$(MAKE) -C $(KERNEL_SRC) M=`pwd` modules
.PHONY: install install-module modules_install
install install-module modules_install: module
install -m 0755 -d $(DESTDIR)$(KERNEL_MODULE_DIR)/xen
install -m 0554 $(KERNEL_MODULE) $(DESTDIR)$(KERNEL_MODULE_DIR)/xen
.PHONY: clean
clean:
@$(MAKE) -C $(KERNEL_SRC) M=$(PWD) clean
@rm -f *.a *.o *.ko *~ .*.d .*.cmd *.mod.?
TAGS:
etags *.c *.h