X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=README.md;fp=README.md;h=06d0725f1d27d216e88a47cf5838ab245a546ed1;hb=03ea9e0e7107d59f207b3842f9fc3f74d036ac91;hp=4249251856c6e2da69141cf4f951e2466cfe5e5f;hpb=53f2a0c56e9604b8ac5cff73e62fc387c4676365;p=src%2Fxds%2Fxds-agent.git diff --git a/README.md b/README.md index 4249251..06d0725 100644 --- a/README.md +++ b/README.md @@ -30,12 +30,19 @@ Clone this repo into your `$GOPATH/src/github.com/iotbzh` and use delivered Make make all ``` -And to install xds-agent in /usr/local/bin: +And to install xds-agent (by default in `/usr/local/bin`): ```bash make install ``` -> **NOTE**: To cross build for example for Windows, just execute: +>**NOTE:** Used `DESTDIR` to specify another install directory +>```bash +>make install DESTDIR=$HOME/opt/xds-agent +>``` + + +#### Cross build +For example on a Linux machine to cross-build for Windows, just execute: ```bash export GOOS=windows export GOARCH=amd64