Add build number to kernel modules built via Debian packaging.
authorBen Pfaff <blp@nicira.com>
Mon, 10 Nov 2008 18:10:02 +0000 (10:10 -0800)
committerBen Pfaff <blp@nicira.com>
Mon, 10 Nov 2008 18:10:02 +0000 (10:10 -0800)
debian/rules

index 705f83fa1c0990ef816fdf0cb75b2e8e75745119..fa3cea85e6fff4a9d72ec414bf4a4cb8a4af9cd2 100755 (executable)
@@ -93,7 +93,7 @@ binary-modules: prep-deb-files
        dh_testroot
        dh_clean -k
        tar xzf openflow.tar.gz
-       cd openflow && ./configure --with-$(l2x)=$(KSRC) $(DATAPATH_CONFIGURE_OPTS)
+       cd openflow && ./configure --with-$(l2x)=$(KSRC) $(DATAPATH_CONFIGURE_OPTS) --with-build-number=$(BUILD_NUMBER)
        cd openflow && $(MAKE) -C $(dpdir)
        install -d -m755 $(DSTDIR)
        install -m644 openflow/$(dpdir)/*_mod.$(KO)o $(DSTDIR)/