On Fri, Feb 12, 2021 at 1:14 AM Numan Siddique <num...@ovn.org> wrote:
>
> On Thu, Feb 11, 2021 at 11:33 PM Mark Michelson <mmich...@redhat.com> wrote:
> >
> > The initial addition of OVS as a submodule made the assumption that the
> > build is being performed from the OVN source directory. However, some
> > devs create a separate build directory for OVN. This means the search
> > for the OVS source will fail.
> >
> > This fixes the problem by explicitly stating that he ovs submodule is
> > located in the ovn source directory.
> >
> > Signed-off-by: Mark Michelson <mmich...@redhat.com>
>
> Acked-by: Numan Siddique <num...@ovn.org>
>
> Thanks for fixing this issue.

I applied this patch to master.

FYI - This patch landed in the openvswitch patchwork.

Thanks
Numan

>
> Numan
>
> > ---
> >  Makefile.am  | 2 +-
> >  acinclude.m4 | 2 +-
> >  2 files changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/Makefile.am b/Makefile.am
> > index 50376a1b6..80247b62d 100644
> > --- a/Makefile.am
> > +++ b/Makefile.am
> > @@ -159,7 +159,7 @@ noinst_HEADERS += $(EXTRA_DIST)
> >
> >  ro_c = echo '/* -*- mode: c; buffer-read-only: t -*- */'
> >  ro_shell = printf '\043 Generated automatically -- do not modify!    -*- 
> > buffer-read-only: t -*-\n'
> > -submodules = $(shell grep 'path =' .gitmodules | sed -E 's/[\t ]*path 
> > =\s*(.*)/\1/g' | xargs)
> > +submodules = $(shell grep 'path =' $(srcdir)/.gitmodules | sed -E 's/[\t 
> > ]*path =\s*(.*)/\1/g' | xargs)
> >
> >  SUFFIXES += .in
> >  .in:
> > diff --git a/acinclude.m4 b/acinclude.m4
> > index 2f8755961..2ca15cb33 100644
> > --- a/acinclude.m4
> > +++ b/acinclude.m4
> > @@ -338,7 +338,7 @@ AC_DEFUN([OVN_CHECK_OVS], [
> >        AC_ERROR([$OVSDIR is not an OVS source directory])
> >      fi
> >    else
> > -    OVSDIR=`pwd`/ovs
> > +    OVSDIR=$srcdir/ovs
> >    fi
> >
> >    AC_MSG_RESULT([$OVSDIR])
> > --
> > 2.29.2
> >
> > _______________________________________________
> > dev mailing list
> > d...@openvswitch.org
> > https://mail.openvswitch.org/mailman/listinfo/ovs-dev
> >
_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to