summaryrefslogtreecommitdiffstats
path: root/tools/net/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/net/Makefile')
-rw-r--r--tools/net/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/tools/net/Makefile b/tools/net/Makefile
new file mode 100644
index 000000000000..b4444d53b73f
--- /dev/null
+++ b/tools/net/Makefile
@@ -0,0 +1,15 @@
+prefix = /usr
+
+CC = gcc
+
+all : bpf_jit_disasm
+
+bpf_jit_disasm : CFLAGS = -Wall -O2
+bpf_jit_disasm : LDLIBS = -lopcodes -lbfd -ldl
+bpf_jit_disasm : bpf_jit_disasm.o
+
+clean :
+ rm -rf *.o bpf_jit_disasm
+
+install :
+ install bpf_jit_disasm $(prefix)/bin/bpf_jit_disasm
OpenPOWER on IntegriCloud