aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools
diff options
context:
space:
mode:
authorShuah Khan <shuahkh@osg.samsung.com>2016-09-21 16:19:35 -0600
committerShuah Khan <shuahkh@osg.samsung.com>2016-09-23 13:07:15 -0600
commitd522b2cdfed853e372d6b64a89d070368f0718f7 (patch)
tree69e97026e5352e17fc9f93520e93c31c43364030 /tools
parentsamples: move auxdisplay example code from Documentation (diff)
downloadwireguard-linux-d522b2cdfed853e372d6b64a89d070368f0718f7.tar.xz
wireguard-linux-d522b2cdfed853e372d6b64a89d070368f0718f7.zip
tools: move accounting tool from Documentation
Move accounting tool to tools and remove it from Documentation Makefile. Update location information for this tool. Create a new Makefile to build accounting. It can be built from top level directory or from accounting directory: Run make -C tools/accounting or cd tools/accounting; make Acked-by: Jonathan Corbet <corbet@lwn.net> Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Diffstat (limited to '')
-rw-r--r--tools/accounting/.gitignore (renamed from Documentation/accounting/.gitignore)0
-rw-r--r--tools/accounting/Makefile9
-rw-r--r--tools/accounting/getdelays.c (renamed from Documentation/accounting/getdelays.c)0
3 files changed, 9 insertions, 0 deletions
diff --git a/Documentation/accounting/.gitignore b/tools/accounting/.gitignore
index 86485203c4ae..86485203c4ae 100644
--- a/Documentation/accounting/.gitignore
+++ b/tools/accounting/.gitignore
diff --git a/tools/accounting/Makefile b/tools/accounting/Makefile
new file mode 100644
index 000000000000..647c94a219bf
--- /dev/null
+++ b/tools/accounting/Makefile
@@ -0,0 +1,9 @@
+CC := $(CROSS_COMPILE)gcc
+CFLAGS := -I../../usr/include
+
+PROGS := getdelays
+
+all: $(PROGS)
+
+clean:
+ rm -fr $(PROGS)
diff --git a/Documentation/accounting/getdelays.c b/tools/accounting/getdelays.c
index b5ca536e56a8..b5ca536e56a8 100644
--- a/Documentation/accounting/getdelays.c
+++ b/tools/accounting/getdelays.c