You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
518 B
21 lines
518 B
#!/usr/bin/python2
|
|
|
|
# Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
import common, os, shutil
|
|
from autotest_lib.client.bin import utils
|
|
|
|
version = 1
|
|
|
|
def setup(topdir):
|
|
srcdir = os.path.join(topdir, 'src')
|
|
os.chdir(srcdir)
|
|
utils.make()
|
|
utils.make("DESTDIR=%s install"%(topdir))
|
|
os.chdir(topdir)
|
|
|
|
pwd = os.getcwd()
|
|
utils.update_version(pwd + '/src', True, version, setup, pwd)
|