From 44331666407201707d833ad5e397ae5e675d8a69 Mon Sep 17 00:00:00 2001 From: Wei Yongjun Date: Mon, 24 May 2010 10:20:10 +0800 Subject: [PATCH] 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 --- datapath/linux-2.6/Makefile.main.in | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.30.2