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>
This commit is contained in:
Daniel Hiltgen 2018-08-24 17:05:42 -07:00
Родитель e551ce4329
Коммит 4d9fd7d17f
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -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 $($*)