build: Add cross building option

Added a cross build option using a buildrelease function

Signed-off-by: Toshaan Bharvani <toshaan@vantosh.com>

build: Add gitignore entry for mgmt-* binaries

Signed-off-by: Toshaan Bharvani <toshaan@vantosh.com>

build: Update makefile based upon feed back

* rename cross to crossbuild
* added crossbuild to PHONY

Signed-off-by: Toshaan Bharvani <toshaan@vantosh.com>

build: Change the order of .PHONY as per the rest of the file

Signed-off-by: Toshaan Bharvani <toshaan@vantosh.com>
This commit is contained in:
Toshaan Bharvani
2018-01-27 01:17:05 +01:00
parent e8b03545bb
commit 077b6e540a
2 changed files with 11 additions and 1 deletions

1
.gitignore vendored
View File

@@ -9,5 +9,6 @@ tmp/
bindata/*.go
mgmt
mgmt.static
mgmt-*
mgmt.iml
rpmbuild/