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>
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