Import Makefile.dapper downloaded from Shipyard

Instead of redefining the dapper file here, download it from Shiyard
Also use the BASE_BRANCH env variable for the dapper file

Signed-off-by: Mike Kolesnik <mkolesni@redhat.com>
This commit is contained in:
Mike Kolesnik
2021-03-10 19:43:24 -05:00
committed by Daniel Farrell
parent 51975c6bc7
commit 50a2d3db29
4 changed files with 11 additions and 28 deletions
+8 -1
View File
@@ -1,3 +1,6 @@
BASE_BRANCH ?= devel
export BASE_BRANCH
ifneq (,$(DAPPER_HOST_ARCH))
# Running in Dapper
@@ -54,9 +57,13 @@ else
# Not running in Dapper
Makefile.dapper:
@echo Downloading $@
@curl -sfLO https://raw.githubusercontent.com/submariner-io/shipyard/$(BASE_BRANCH)/$@
include Makefile.dapper
endif
# Disable rebuilding Makefile
Makefile Makefile.dapper Makefile.inc: ;
Makefile Makefile.inc: ;