X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=utilities%2Fovs-dev.py;h=f73899bba86b3433bf5badb04d72ae6562d74922;hb=0ef165ecb57943e17a8ee8270df68ffb8d032e29;hp=dff1a3a7c580828721c5884b78f2a04f18b80232;hpb=a2a2ac7b1e9c4bbde84c34b2fc1b8fa3cd8c91e9;p=sliver-openvswitch.git diff --git a/utilities/ovs-dev.py b/utilities/ovs-dev.py index dff1a3a7c..f73899bba 100755 --- a/utilities/ovs-dev.py +++ b/utilities/ovs-dev.py @@ -1,5 +1,5 @@ #!/usr/bin/python -# Copyright (c) 2013 Nicira, Inc. +# Copyright (c) 2013, 2014 Nicira, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -62,8 +62,7 @@ def conf(): configure = ["../configure", "--prefix=" + ROOT, "--localstatedir=" + ROOT, "--with-logdir=%s/log" % ROOT, "--with-rundir=%s/run" % ROOT, - "--with-linux=/lib/modules/%s/build" % uname(), - "--with-dbdir=" + ROOT] + "--enable-silent-rules", "--with-dbdir=" + ROOT, "--silent"] if options.werror: configure.append("--enable-Werror") @@ -86,7 +85,7 @@ def conf(): pass # Directory exists. os.chdir(BUILD_GCC) - _sh(*configure) + _sh(*(configure + ["--with-linux=/lib/modules/%s/build" % uname()])) try: _sh("clang --version", check=True) @@ -276,7 +275,7 @@ Basic Configuration: libssl-dev gdb linux-headers-`uname -r` # Next clone the Open vSwitch source. - git clone git://git.openvswitch.org/openvswitch %(ovs)s + git clone https://github.com/openvswitch/ovs.git %(ovs)s # Setup environment variables. `%(v)s env`