summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
Diffstat (limited to 'README')
-rw-r--r--README22
1 files changed, 18 insertions, 4 deletions
diff --git a/README b/README
index f60a984..ceeb000 100644
--- a/README
+++ b/README
@@ -10,14 +10,28 @@ Installation
To build and install llmnrd use the following commands:
-$ make
-$ sudo make install
+ $ make
+ $ sudo make install
By default, the llmnrd binary will be installed to /usr/local/sbin. To install
the binary to a different installation path, use:
-$ make
-$ sudo make prefix=<path> install
+ $ make
+ $ sudo make prefix=<path> install
+
+Cross-Compilation
+-----------------
+
+To cross-compile llmnrd for a different architecture, use the CROSS_COMPILE make
+variable. To e.g. build it using the arm-linux-gnueabihf toolchain use:
+
+ $ make CROSS_COMPILE=arm-linux-gnueabihf-
+
+When cross-compiling, you usually don't want to install the generated binary to
+your root filesystem, but to the sysroot of a cross-compiled system. Use the
+DESTDIR variable to change the installation destination path, e.g.
+
+ $ make DESTDIR=$HOME/sysroot/ prefix=/usr install
License
-------