Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(125)

Side by Side Diff: client/deps/iotools/iotools.py

Issue 1616002: GPIO button test (Closed)
Patch Set: Tested on proto machine, fix typo, iotools unpacking Created 10 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « client/deps/iotools/control ('k') | client/deps/iotools/iotools-1.2.tar.gz » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/usr/bin/python
2 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file.
5
6 __author__ = 'nsanders@chromium.org (Nick Sanders)'
7
8 import os, common
9 from autotest_lib.client.bin import utils
10
11 version = 1
12
13 def setup(tarball, topdir):
14 srcdir = os.path.join(topdir, 'src')
15 utils.extract_tarball_to_dir(tarball, srcdir)
16 # 'Add' arm support.
17 os.chdir(srcdir)
18 utils.system('patch -p0 < ../iotools.arm.patch')
19
20 utils.system('CROSS_COMPILE=${CTARGET_default}- make')
21 utils.system('cp iotools %s' % topdir)
22 os.chdir(topdir)
23
24
25 # The source is grabbed from
26 # http://iotools.googlecode.com/files/iotools-1.2.tar.gz
27 pwd = os.getcwd()
28 tarball = os.path.join(pwd, 'iotools-1.2.tar.gz')
29 utils.update_version(pwd+'/src', False, version, setup, tarball, pwd)
OLDNEW
« no previous file with comments | « client/deps/iotools/control ('k') | client/deps/iotools/iotools-1.2.tar.gz » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698