Add an install script.
authorMichael Buesch <mb@bu3sch.de>
Thu, 19 Jun 2008 18:28:48 +0000 (20:28 +0200)
committerMichael Buesch <mb@bu3sch.de>
Thu, 19 Jun 2008 18:28:48 +0000 (20:28 +0200)
Signed-off-by: Michael Buesch <mb@bu3sch.de>
debug/README
debug/install.py [new file with mode: 0755]

index 3e97b5ddde0125cc6befaf9ae11df42f4762b23a..5ddd1021d31adab9f3c025eafd9dca3b01cb596a 100644 (file)
@@ -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!
 
 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.
 
 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 (executable)
index 0000000..489859b
--- /dev/null
@@ -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"]
+     )