Expose the platform string for community builds

This encodes the platform as "Docker Engine - Community"
for community engines

Signed-off-by: Daniel Hiltgen <daniel.hiltgen@docker.com>
Upstream-commit: 4d9fd7d17f3aab3463baf6030072f5789a003a74
Component: packaging
This commit is contained in:
Daniel Hiltgen
2018-08-24 17:05:42 -07:00
parent 90b540baa9
commit 12f331f6b2

View File

@ -7,7 +7,9 @@ ARCH=$(shell uname -m)
STATIC_VERSION=$(shell static/gen-static-ver $(ENGINE_DIR) $(VERSION))
GO_VERSION:=1.10.3
DEFAULT_PRODUCT_LICENSE:=Community Engine
PLATFORM=Docker Engine - Community
export DEFAULT_PRODUCT_LICENSE
export PLATFORM
# Taken from: https://www.cmcrossroads.com/article/printing-value-makefile-variable
print-% : ; @echo $($*)