diff options
author | Wei Yongjun <yjwei@cn.fujitsu.com> | 2010-05-24 10:20:10 +0800 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2010-05-24 09:54:47 -0700 |
commit | 44331666407201707d833ad5e397ae5e675d8a69 (patch) | |
tree | 81ec9ccdd3b1cc94cbfc2bec6b7eb59abbb70d6d | |
parent | 10dcf8deec96f64e56450bea6cc8801253f15f51 (diff) | |
download | openvswitch-44331666407201707d833ad5e397ae5e675d8a69.tar.gz |
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 <yjwei@cn.fujitsu.com>
-rw-r--r-- | datapath/linux-2.6/Makefile.main.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/datapath/linux-2.6/Makefile.main.in b/datapath/linux-2.6/Makefile.main.in index 0809e6124..74bed7841 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 |