aboutsummaryrefslogtreecommitdiff
path: root/fetcher.mk
blob: 755f28dc0c4beb5be79f2e59783d1efbd5a82375 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
bin_path := $(HOST_OUT_EXECUTABLES)
ifeq ($(HOST_CROSS_OS), linux_musl)
  bin_path := $(OUT_DIR)/host/$(HOST_CROSS_OS)-$(HOST_CROSS_ARCH)/bin
endif

cvd_bin := $(bin_path)/cvd
fetcher_bin := $(bin_path)/fetch_cvd

.PHONY: host_fetcher
host_fetcher: $(fetcher_bin)

# Build this by default when a developer types make
droidcore: $(cvd_bin) $(fetcher_bin)

# Build and store them on the build server.
$(call dist-for-goals, dist_files, $(cvd_bin))
$(call dist-for-goals, dist_files, $(fetcher_bin))

bin_path :=
cvd_bin :=
fetcher_bin :=