From: Wei Yongjun Date: Mon, 24 May 2010 02:20:10 +0000 (+0800) Subject: datapath: introduce a method to install kernel modules X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=44331666407201707d833ad5e397ae5e675d8a69;p=openvswitch datapath: introduce a method to install kernel modules After we choose to build the Linux kernel module, install them using make modules_install. % ./configure --with-l26=/lib/modules/`uname -r`/build % make % cd datapath/linux-2.6/ % make modules_install the openswitch kernel modules will be installed to dir /lib/modules/`uname -r`/extra/ Signed-off-by: Wei Yongjun --- diff --git a/datapath/linux-2.6/Makefile.main.in b/datapath/linux-2.6/Makefile.main.in index 0809e612..74bed784 100644 --- a/datapath/linux-2.6/Makefile.main.in +++ b/datapath/linux-2.6/Makefile.main.in @@ -50,6 +50,9 @@ endif default: $(MAKE) -C $(KSRC) M=$(builddir) modules + +modules_install: + $(MAKE) -C $(KSRC) M=$(builddir) modules_install endif # Much of the kernel build system in this file is derived from Intel's