Skip to content

Commit

Permalink
Merge pull request #935 from fasaxc/fix-makefile
Browse files Browse the repository at this point in the history
Move variable definitions above include of common makefile.
  • Loading branch information
fasaxc committed Apr 19, 2021
2 parents b4e98ec + 1c34bd0 commit 1176d1b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
PACKAGE_NAME?=github.com/projectcalico/node
GO_BUILD_VER?=v0.51

# This needs to be evaluated before the common makefile is included.
# This var contains some default values that the common makefile may append to.
# These need to be defined before the common makefile is included due to the way
# the common makefile expands certain variables. (If they are not pre-defined then
# the variables won't expand correctly in pre-requisites.)
BUILD_IMAGE?=calico/node
RELEASE_IMAGES?=gcr.io/projectcalico-org/node eu.gcr.io/projectcalico-org/node asia.gcr.io/projectcalico-org/node us.gcr.io/projectcalico-org/node
PUSH_IMAGES?=$(BUILD_IMAGE) quay.io/calico/node

ORGANIZATION=projectcalico
Expand Down Expand Up @@ -45,9 +48,6 @@ include Makefile.common

###############################################################################

BUILD_IMAGE?=calico/node
RELEASE_IMAGES?=gcr.io/projectcalico-org/node eu.gcr.io/projectcalico-org/node asia.gcr.io/projectcalico-org/node us.gcr.io/projectcalico-org/node

# Versions and location of dependencies used in the build.
BIRD_VERSION=v0.3.3-167-g0a2f8d2d
BIRD_IMAGE ?= calico/bird:$(BIRD_VERSION)-$(ARCH)
Expand Down

0 comments on commit 1176d1b

Please sign in to comment.