From df14d71bc80f821a2818456824981b81c93ad564 Mon Sep 17 00:00:00 2001 From: Michael Buesch Date: Thu, 19 Jun 2008 20:28:48 +0200 Subject: [PATCH] Add an install script. Signed-off-by: Michael Buesch --- debug/README | 3 +++ debug/install.py | 16 ++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100755 debug/install.py diff --git a/debug/README b/debug/README index 3e97b5d..5ddd102 100644 --- a/debug/README +++ b/debug/README @@ -1,6 +1,9 @@ This is a set of tools for debugging the b43 driver and/or firmware. Note that it is licensed under the GNU GPL version 3 ONLY! +Installing: + Run the install.py script as root. + Please be careful when using these tools. They have direct access to the hardware, so you can easily crash something. diff --git a/debug/install.py b/debug/install.py new file mode 100755 index 0000000..489859b --- /dev/null +++ b/debug/install.py @@ -0,0 +1,16 @@ +#!/usr/bin/env python +# +# Run this script as root to install the debugging tools +# + +from distutils.core import setup +import sys + +if len(sys.argv) == 1: + sys.argv.append("install") # default to INSTALL + +setup( + name="B43-debug-tools", + py_modules=["libb43"], + scripts=["b43-fwdump"] + ) -- 2.31.1