[ovs-dev] [[ovn]] OVN split: Fix modules_install

Numan Siddique nusiddiq at redhat.com
Mon Jul 29 09:24:48 UTC 2019


On Mon, Jul 29, 2019 at 2:30 PM <lmartins at redhat.com> wrote:

> From: Lucas Alvares Gomes <lucasagomes at gmail.com>
>
> The Makefile for modules_install should point to the ovs subrepository
> to be able to compile the ovs kernel modules (otherwise the compilation
> fails).
>
> Signed-off-by: Lucas Alvares Gomes <lucasagomes at gmail.com>
>

I think it is better to delete this target rather than fixing it.
Ideally OVS repo should be used to build the kernel module .

Thanks
Numan


---
>  Makefile.am | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Makefile.am b/Makefile.am
> index e3dea1912..1a583cdf2 100644
> --- a/Makefile.am
> +++ b/Makefile.am
> @@ -486,7 +486,7 @@ uninstall-local: $(UNINSTALL_LOCAL)
>
>  modules_install:
>  if LINUX_ENABLED
> -       cd datapath/linux && $(MAKE) modules_install
> +       cd ovs/datapath/linux && $(MAKE) modules_install
>  endif
>
>  dist-docs:
> --
> 2.22.0
>
> _______________________________________________
> dev mailing list
> dev at openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-dev
>


More information about the dev mailing list