summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKali Kaneko (leap communications) <kali@leap.se>2019-08-08 23:01:04 +0200
committerKali Kaneko (leap communications) <kali@leap.se>2019-08-08 23:08:31 +0200
commitfcc0bf6cd609224357d1380870a090c2875e9eff (patch)
tree14ea45cd725bfad95700f98129b37b9b707a69cb /Makefile
parent31528b8b8cb4b65ef375a4569864df88a4785fed (diff)
[pkg] fix makefile for xbuild
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile16
1 files changed, 8 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index 3028278..f86f595 100644
--- a/Makefile
+++ b/Makefile
@@ -11,7 +11,7 @@ PROVIDER ?= $(shell grep ^'provider =' branding/config/vendor.conf | cut -d '='
PROVIDER_CONFIG ?= branding/config/vendor.conf
DEFAULT_PROVIDER = branding/assets/default/
VERSION ?= $(shell git describe)
-XBUILD ?= 0
+XBUILD ?= no
# go paths
GOPATH = $(shell go env GOPATH)
@@ -58,15 +58,15 @@ dependsCygwin:
build:
$(MAKE) _buildparts
-ifeq ($(XBUILD),"yes")
- build_cross_win
- build_cross_osx
+ifeq (${XBUILD}, yes)
+ $(MAKE) build_cross_win
+ $(MAKE) build_cross_osx
$(MAKE) _build_xbuild_done
-else ifeq ($(XBUILD), "win")
- build_cross_win
+else ifeq (${XBUILD}, win)
+ $(MAKE) build_cross_win
$(MAKE) _build_done
-else ifeq ($(XBUILD), "osx")
- build_cross_osx
+else ifeq (${XBUILD}, osx)
+ $(MAKE) build_cross_osx
$(MAKE) _build_done
endif