add osmo-uninstall.sh
diff --git a/README b/README
index a94522b..9d3990d 100644
--- a/README
+++ b/README
@@ -1,3 +1,5 @@
+=== gen_makefile.py
+
 This provides a set of top-level makefiles to build variants of the Osmocom
 source trees. It is inteded for the core network components and related
 projects, but works generically.
@@ -36,3 +38,9 @@
 
 It is also easily possible to keep sources and build trees in various
 configurations, see the command line options of ./gen_makefile.py.
+
+
+=== osmo-uninstall.sh
+
+Remove osmocom built binaries and headers from given prefix,
+default is /usr/local.
diff --git a/osmo-uninstall.sh b/osmo-uninstall.sh
new file mode 100755
index 0000000..ebbf0de
--- /dev/null
+++ b/osmo-uninstall.sh
@@ -0,0 +1,33 @@
+#!/bin/sh
+# Remove all osmocom installations from given prefix, default is /usr/local
+prefix="${1-/usr/local}"
+echo "$prefix"
+rm -rf $prefix/lib/libasn1c*
+rm -rf $prefix/lib/libgtp.*
+rm -rf $prefix/lib/libmtp.*
+rm -rf $prefix/lib/libosmo*
+rm -rf $prefix/lib/libsccp.*
+rm -rf $prefix/lib/libsmpp34*
+rm -rf $prefix/lib/libxua.*
+rm -rf $prefix/lib/pkgconfig/
+rm -rf $prefix/include/asn1c/
+rm -rf $prefix/include/gtp.h
+rm -rf $prefix/include/gtpie.h
+rm -rf $prefix/include/openbsc/
+rm -rf $prefix/include/osmocom/
+rm -rf $prefix/include/pdp.h
+rm -rf $prefix/include/smpp34*
+rm -rf $prefix/include/def_*
+rm -rf $prefix/bin/abisip-find
+rm -rf $prefix/bin/asn1c
+rm -rf $prefix/bin/bs11_config
+rm -rf $prefix/bin/crfc2asn1.pl
+rm -rf $prefix/bin/enber
+rm -rf $prefix/bin/ggsn
+rm -rf $prefix/bin/ipaccess-config
+rm -rf $prefix/bin/ipaccess-proxy
+rm -rf $prefix/bin/isdnsync
+rm -rf $prefix/bin/meas_json
+rm -rf $prefix/bin/osmo-*
+rm -rf $prefix/bin/sgsnemu
+rm -rf $prefix/bin/unber