INSTALL recommends running "make modules_install" but it didn't mention that this has to be done from datapath/linux. This commit makes this work from the top-level build directory.
(Another solution would be to update INSTALL, but this approach seems a little easier for the user.) Signed-off-by: Ben Pfaff <b...@nicira.com> --- Makefile.am | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/Makefile.am b/Makefile.am index dafba2b..b71ca1f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -211,6 +211,11 @@ install-data-local: $(INSTALL_DATA_LOCAL) uninstall-local: $(UNINSTALL_LOCAL) .PHONY: $(DIST_HOOKS) $(CLEAN_LOCAL) $(INSTALL_DATA_LOCAL) $(UNINSTALL_LOCAL) +modules_install: +if LINUX_ENABLED + cd datapath/linux && $(MAKE) modules_install +endif + include lib/automake.mk include ofproto/automake.mk include utilities/automake.mk -- 1.7.2.5 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev