X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=debian%2Frules.modules;h=2eb944055c27089d3aeed926a6e535f706f5f4ce;hb=003ce655b7116d18c86a74c50391e54990346931;hp=4ca3d928565033b5c203f65b1c79f23d9b73e1ba;hpb=3d41239d308452b43bdf64d8acf7dde20e0fb986;p=sliver-openvswitch.git diff --git a/debian/rules.modules b/debian/rules.modules index 4ca3d9285..2eb944055 100755 --- a/debian/rules.modules +++ b/debian/rules.modules @@ -7,9 +7,6 @@ MA_DIR ?= /usr/share/modass DATAPATH_CONFIGURE_OPTS = -# Official build number. Leave set to 0 if not an official build. -BUILD_NUMBER = 0 - kdist_clean: dh_testdir dh_testroot @@ -26,10 +23,10 @@ binary-modules: prep-deb-files dh_testroot dh_clean -k tar xzf openvswitch.tar.gz - cd openvswitch && ./configure --with-l26=$(KSRC) $(DATAPATH_CONFIGURE_OPTS) --with-build-number=$(BUILD_NUMBER) - cd openvswitch && $(MAKE) -C datapath/linux-2.6 + cd openvswitch && ./configure --with-linux=$(KSRC) $(DATAPATH_CONFIGURE_OPTS) + cd openvswitch && $(MAKE) -C datapath/linux install -d -m755 $(DSTDIR) - install -m644 openvswitch/datapath/linux-2.6/*_mod.ko $(DSTDIR)/ + install -m644 openvswitch/datapath/linux/*.ko $(DSTDIR)/ dh_installmodules dh_installdocs dh_installchangelogs