Pass --enable-snat to configure for datapath module also.
This commit is contained in:
1 parent
8872d86328
commit
3eeebb50aa
1 file changed
+4
-2
Vendored
+4
-2
@@ -27,6 +27,8 @@ MA_DIR ?= /usr/share/modass
|
|||||||
|
|
||||||
-include debian/rules.ext
|
-include debian/rules.ext
|
||||||
|
|
||||||
|
DATAPATH_CONFIGURE_OPTS = --enable-snat
|
||||||
|
|
||||||
configure: configure-stamp
|
configure: configure-stamp
|
||||||
configure-stamp:
|
configure-stamp:
|
||||||
dh_testdir
|
dh_testdir
|
||||||
@@ -35,7 +37,7 @@ configure-stamp:
|
|||||||
cd _debian && ( \
|
cd _debian && ( \
|
||||||
test -e Makefile || \
|
test -e Makefile || \
|
||||||
../configure --prefix=/usr --localstatedir=/var --enable-ssl \
|
../configure --prefix=/usr --localstatedir=/var --enable-ssl \
|
||||||
--enable-snat)
|
$(DATAPATH_CONFIGURE_OPTS))
|
||||||
$(ext_configure)
|
$(ext_configure)
|
||||||
touch configure-stamp
|
touch configure-stamp
|
||||||
|
|
||||||
@@ -87,7 +89,7 @@ binary-modules: prep-deb-files
|
|||||||
dh_testroot
|
dh_testroot
|
||||||
dh_clean -k
|
dh_clean -k
|
||||||
tar xzf openflow.tar.gz
|
tar xzf openflow.tar.gz
|
||||||
cd openflow && ./configure --with-$(l2x)=$(KSRC)
|
cd openflow && ./configure --with-$(l2x)=$(KSRC) $(DATAPATH_CONFIGURE_OPTS)
|
||||||
cd openflow && $(MAKE) -C $(dpdir)
|
cd openflow && $(MAKE) -C $(dpdir)
|
||||||
install -d -m755 $(DSTDIR)
|
install -d -m755 $(DSTDIR)
|
||||||
install -m644 openflow/$(dpdir)/*_mod.$(KO)o $(DSTDIR)/
|
install -m644 openflow/$(dpdir)/*_mod.$(KO)o $(DSTDIR)/
|
||||||
|
|||||||
Reference in new issue
Block a user