diff options
| author | Matthew Dempsky <mdempsky@google.com> | 2019-08-19 18:23:15 -0700 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2019-08-27 14:39:18 -0700 |
| commit | fd37b39ea8db38458059092f5f94b582392e8922 (patch) | |
| tree | e72046a32eb190e7d069bd38c4d132a72d6fa05b /Makefile | |
| parent | d21c5d9de0cd2f3124a8218f70c46ab97863a7a2 (diff) | |
all: convert Fuchsia to use "host fuzzing" mode
Go support is not a priority for Fuchsia at the moment, so it's
preferable to use host fuzzing mode for Fuchsia like currently done
for Akaros.
This commit basically looks for all the places where there was special
logic for OS=="akaros" and extends the same logic for OS=="fuchsia".
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 11 |
1 files changed, 5 insertions, 6 deletions
@@ -44,12 +44,6 @@ export CGO_ENABLED=0 TARGETGOOS := $(TARGETOS) TARGETGOARCH := $(TARGETVMARCH) -ifeq ("$(TARGETOS)", "fuchsia") -# SOURCEDIR should point to fuchsia checkout. -export FX_SRC_PATH=$(SOURCEDIR) - GO = "tools/fuchsia/go" -endif - GITREV=$(shell git rev-parse HEAD) ifeq ("$(shell git diff --shortstat)", "") REV=$(GITREV) @@ -81,6 +75,11 @@ ifeq ("$(TARGETOS)", "akaros") TARGETGOARCH := $(HOSTARCH) endif +ifeq ("$(TARGETOS)", "fuchsia") + TARGETGOOS := $(HOSTOS) + TARGETGOARCH := $(HOSTARCH) +endif + ifeq ("$(TARGETOS)", "trusty") TARGETGOOS := $(HOSTOS) TARGETGOARCH := $(HOSTARCH) |
