From 7aeaf4211295b5d1817680c20292e1ce26e9cca5 Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Mon, 19 Nov 2018 02:54:11 +0100 Subject: [PATCH] add prefix_usr.opts Change-Id: I258711d3cfcc310a0dde1a37532c3a8b1ea2f373 --- README | 7 +++++++ prefix_usr.opts | 1 + 2 files changed, 8 insertions(+) create mode 100644 prefix_usr.opts diff --git a/README b/README index d6ce60e..395097c 100644 --- a/README +++ b/README @@ -79,6 +79,13 @@ It is also easily possible to keep sources and build trees in various configurations, see the command line options of ./gen_makefile.py. +=== Install in /usr + +By default, the Osmocom install prefix is /usr/local, while (currently) the +default systemd *.service files expect binaries installed in /usr/bin. To +install in /usr instead, use prefix_usr.opts, which sets --prefix=/usr. + + === Build Environment For dependencies, see the "External dependencies" on: diff --git a/prefix_usr.opts b/prefix_usr.opts new file mode 100644 index 0000000..572097b --- /dev/null +++ b/prefix_usr.opts @@ -0,0 +1 @@ +ALL --prefix=/usr